/* ==========================================================================
   Attai Marketing — main stylesheet
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--ink: #110d26;
	--ink-2: #1a1540;
	--ink-3: #2a2260;
	--paper: #f7f6fb;
	--surface: #ffffff;
	--text: #1b1733;
	--muted: #66627e;
	--line: #e8e5f1;
	--line-dark: rgba(255, 255, 255, .12);

	--violet: #6d4cff;
	--violet-600: #5936f0;
	--violet-soft: #efebff;
	--lilac: #b69cff;
	--teal: #14b8a6;
	--teal-soft: #e0f7f3;
	--rose: #ff5d8f;
	--amber: #ffb547;
	--green: #25d366;

	--grad: linear-gradient(115deg, #7c5cff 0%, #b06bff 45%, #2dd4bf 100%);
	--grad-text: linear-gradient(100deg, #b9a5ff 0%, #e2a8ff 40%, #5eead4 100%);
	--grad-text-dark: linear-gradient(100deg, #6d4cff 0%, #a445f5 50%, #0fa89a 100%);

	--font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--serif: "Instrument Serif", ui-serif, Georgia, serif;

	--r-sm: 12px;
	--r: 20px;
	--r-lg: 28px;
	--r-xl: 36px;

	--shadow-sm: 0 1px 2px rgba(17, 13, 38, .06), 0 2px 8px rgba(17, 13, 38, .04);
	--shadow: 0 10px 30px -12px rgba(17, 13, 38, .18), 0 2px 6px rgba(17, 13, 38, .05);
	--shadow-lg: 0 30px 70px -25px rgba(35, 20, 90, .35), 0 8px 20px -10px rgba(17, 13, 38, .12);
	--shadow-violet: 0 12px 30px -10px rgba(109, 76, 255, .6);

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 88px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.2em; height: 1.2em; flex: none; }

.screen-reader-text {
	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; top: 12px; left: 12px; z-index: 999; padding: 10px 16px; border-radius: 10px;
	background: var(--ink); color: #fff; transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(780px + var(--gutter) * 2); }

/* ---------- Buttons ---------- */
.btn {
	--h: 50px;
	position: relative;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	height: var(--h); padding: 0 24px; border-radius: 999px;
	font-size: 15px; font-weight: 700; letter-spacing: -.005em; white-space: nowrap;
	border: 1px solid transparent; isolation: isolate; overflow: hidden;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .icon-arrow-right { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { --h: 58px; padding: 0 30px; font-size: 16px; }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

.btn--primary { color: #fff; background: linear-gradient(135deg, #7c5cff, #5936f0); box-shadow: var(--shadow-violet); }
.btn--primary::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
	transform: translateX(-100%); transition: transform .8s var(--ease);
}
.btn--primary:hover::after { transform: translateX(100%); }
.btn--primary:hover { box-shadow: 0 18px 40px -12px rgba(109, 76, 255, .75); }

.btn--dark { color: #fff; background: var(--ink); }
.btn--dark:hover { background: var(--ink-3); }
.btn--light { color: var(--ink); background: #fff; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); }
.btn--glass { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .15); }
.btn--ghost { color: var(--text); background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--violet); color: var(--violet); }
.btn__dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: pulse 2s infinite; }

.icon-btn {
	display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none;
	border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text);
	transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease);
}
.icon-btn .icon { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.icon-btn:disabled { opacity: .35; pointer-events: none; }
.icon-btn--soft { background: rgba(17, 13, 38, .04); border-color: transparent; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--violet); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
a:hover > .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(4px); }

.chip {
	display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
	font-size: 12px; font-weight: 700; letter-spacing: .01em; line-height: 1;
	background: var(--violet-soft); color: var(--violet-600);
}
.chip--glass { background: rgba(255, 255, 255, .88); color: var(--ink); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tag { display: inline-flex; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--paper); border: 1px solid var(--line); color: var(--muted); }

/* ---------- Eyebrow & section heads ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 7px 14px 7px 10px; border-radius: 999px;
	font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	background: var(--violet-soft); color: var(--violet-600);
}
.eyebrow--light { background: rgba(255, 255, 255, .07); color: #d8d0ff; border: 1px solid rgba(255, 255, 255, .1); }
.section--dark .eyebrow { background: rgba(255, 255, 255, .07); color: #d8d0ff; border: 1px solid rgba(255, 255, 255, .1); }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 20%, transparent); }
.eyebrow__dot--live { background: #34d399; color: #34d399; animation: pulse 2s infinite; }

.section { position: relative; padding-block: clamp(80px, 10vw, 136px); }
.section--dark { background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head__main { max-width: 720px; }
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .section-head__main { margin-inline: auto; }
.section-title { margin-top: 18px; font-size: clamp(2.1rem, 4.4vw, 3.6rem); letter-spacing: -.035em; line-height: 1.04; }
.section-title em, .hero__title em, .page-hero__title em, .cta-card__title em {
	font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
	background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text; color: transparent;
	padding-right: .08em;
}
.section--dark .section-title em, .hero__title em, .page-hero__title em, .cta-card__title em { background-image: var(--grad-text); }
.section-lead { margin-top: 18px; font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--muted); max-width: 600px; }
.section--dark .section-lead { color: #b7b0d6; }
.section-head .btn { flex: none; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100; padding-top: 14px;
	transition: transform .45s var(--ease);
}
.site-header.is-hidden { transform: translateY(-130%); }
.header-bar {
	display: flex; align-items: center; gap: 20px;
	height: 68px; padding: 0 10px 0 22px; border-radius: 999px;
	background: rgba(255, 255, 255, .86);
	backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
	border: 1px solid rgba(255, 255, 255, .7);
	box-shadow: 0 8px 30px -12px rgba(17, 13, 38, .25);
	transition: box-shadow .3s, background .3s;
}
.site-header.is-scrolled .header-bar { background: rgba(255, 255, 255, .94); box-shadow: 0 14px 40px -14px rgba(17, 13, 38, .35); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-burger { display: none; }

/* Nav (desktop) */
.nav { margin-inline: auto; }
.nav__head, .nav__foot { display: none; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
	display: inline-flex; align-items: center; height: 44px; padding: 0 14px; border-radius: 999px;
	font-size: 15px; font-weight: 600; color: var(--text); transition: background .2s, color .2s;
}
.nav__item.has-sub .nav__link { padding-right: 4px; }
.nav__link:hover, .nav__item:hover > .nav__link, .nav__item.is-current > .nav__link { color: var(--violet-600); }
.nav__item.is-current > .nav__link { background: var(--violet-soft); }
.nav__toggle { display: grid; place-items: center; width: 26px; height: 44px; color: var(--muted); }
.nav__toggle .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.nav__item:hover .nav__toggle .icon, .nav__item.is-open .nav__toggle .icon { transform: rotate(180deg); }
.nav__ext { width: 14px; height: 14px; opacity: .5; display: inline-block; vertical-align: -2px; }

.nav__sub {
	position: absolute; top: calc(100% + 14px); left: 50%; z-index: 20;
	min-width: 240px; padding: 10px; border-radius: 22px; background: #fff;
	border: 1px solid var(--line); box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
	transition: opacity .25s var(--ease), transform .35s var(--ease), visibility .25s;
}
.nav__sub::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub, .nav__item.is-open > .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__sublist { list-style: none; }
.nav__sublink { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 12px; font-weight: 600; font-size: 14.5px; }
.nav__sublink:hover { background: var(--paper); color: var(--violet-600); }

.nav__mega { width: 620px; padding: 12px; }
.mega-grid, .mega-brands { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; list-style: none; }
.mega-link, .mega-brand { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; transition: background .2s; }
.mega-link:hover, .mega-brand:hover { background: var(--paper); }
.mega-link__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--violet-soft); color: var(--violet); flex: none; transition: background .25s, color .25s; }
.mega-link:hover .mega-link__icon { background: var(--violet); color: #fff; }
.mega-link__body { display: grid; gap: 2px; line-height: 1.3; }
.mega-link__body strong { font-size: 14.5px; }
.mega-link__body small { font-size: 12.5px; color: var(--muted); }
.mega-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 14px 16px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; }
.mega-foot .icon { width: 18px; height: 18px; }
.has-mega--brands .nav__mega { width: 560px; }
.mega-brand__logo { display: grid; place-items: center; width: 84px; height: 48px; border-radius: 12px; background: var(--paper); flex: none; padding: 4px; }
.mega-brand__logo img { max-height: 40px; width: auto; object-fit: contain; }

/* Search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 200; display: grid; align-items: start; padding: 110px var(--gutter) 0; background: rgba(17, 13, 38, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .25s var(--ease); }
.search-overlay[hidden] { display: none; }
.search-overlay__panel { display: flex; gap: 10px; align-items: center; width: 100%; max-width: 760px; margin: 0 auto; padding: 10px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-lg); animation: rise .35s var(--ease); }
.search-overlay__panel .search-form { flex: 1; }
.search-form { position: relative; display: flex; align-items: center; gap: 10px; }
.search-form__icon { position: absolute; left: 18px; color: var(--muted); pointer-events: none; }
.search-form__input { flex: 1; min-width: 0; height: 50px; padding: 0 16px 0 50px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 16px; background: var(--paper); color: var(--text); }
.search-overlay .search-form__input { border: 0; background: transparent; }
.search-form__input:focus { outline: none; border-color: var(--violet); }

/* ---------- Shared hero background ---------- */
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .7; will-change: transform; }
.orb--1 { width: 620px; height: 620px; left: -160px; top: -200px; background: radial-gradient(circle, #6d4cff 0%, transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.orb--2 { width: 560px; height: 560px; right: -140px; top: 10%; background: radial-gradient(circle, #14b8a6 0%, transparent 65%); opacity: .45; animation: drift 22s ease-in-out infinite alternate-reverse; }
.orb--3 { width: 480px; height: 480px; left: 40%; bottom: -260px; background: radial-gradient(circle, #d946ef 0%, transparent 65%); opacity: .35; animation: drift 26s ease-in-out infinite alternate; }
.grid-lines {
	position: absolute; inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%);
	mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%);
}
.noise { position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Home hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px)); }
.hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-bottom: clamp(56px, 7vw, 96px); }
.hero__title { margin-top: 24px; font-size: clamp(2.7rem, 6.2vw, 5.6rem); line-height: .98; letter-spacing: -.045em; }
.hero__text { margin-top: 26px; max-width: 560px; font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: #bdb6dc; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; list-style: none; color: #cfc8ee; font-size: 14.5px; font-weight: 600; }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof .icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(52, 211, 153, .18); color: #34d399; stroke-width: 3; }

.hero__visual { position: relative; height: clamp(440px, 42vw, 540px); perspective: 1200px; }
.hv-card {
	position: absolute; border-radius: 22px; color: #fff;
	background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04));
	border: 1px solid rgba(255, 255, 255, .14);
	backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .15);
	transition: transform .6s var(--ease);
}
.hv-main { inset: 8% 4% auto 6%; padding: 20px 22px 22px; animation: float 9s ease-in-out infinite; }
.hv-main__head { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; color: #d8d2f5; }
.hv-dots { display: flex; gap: 6px; }
.hv-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.hv-dots i:first-child { background: #ff6b8b; } .hv-dots i:nth-child(2) { background: #ffc15e; } .hv-dots i:nth-child(3) { background: #34d399; }
.hv-main__title { flex: 1; }
.hv-live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(52, 211, 153, .15); color: #6ee7b7; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; }
.hv-live i { width: 6px; height: 6px; border-radius: 50%; background: #34d399; animation: pulse 2s infinite; }
.hv-chart { width: 100%; height: 170px; margin-top: 18px; overflow: visible; }
.hv-grid path { stroke: rgba(255, 255, 255, .08); stroke-dasharray: 4 6; }
.hv-line { stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 2.4s .4s var(--ease) forwards; }
.hv-area { opacity: 0; animation: fade 1.2s 1.4s forwards; }
.hv-point { fill: #2dd4bf; opacity: 0; filter: drop-shadow(0 0 10px #2dd4bf); animation: fade .4s 2.6s forwards, pulse-ring 2s 3s infinite; }
.hv-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.hv-kpi { display: grid; gap: 8px; font-size: 12px; font-weight: 600; color: #b9b1dc; }
.hv-bar { position: relative; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.hv-bar::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: var(--grad); transform-origin: left; transform: scaleX(0); animation: grow 1.4s 1s var(--ease) forwards; }

.hv-toast { left: 0; bottom: 14%; display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; animation: float 7s -2s ease-in-out infinite; }
.hv-toast__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(135deg, #ffb547, #ff5d8f); color: #fff; }
.hv-toast strong, .hv-rank strong { display: block; font-size: 14.5px; }
.hv-toast small, .hv-rank small { display: block; font-size: 12px; color: #b9b1dc; font-weight: 500; }

.hv-rank { right: 0; top: -2%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; animation: float 8s -4s ease-in-out infinite; }
.hv-rank__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(45, 212, 191, .18); color: #5eead4; }
.hv-rank__pos { margin-left: 6px; padding: 6px 10px; border-radius: 10px; background: #2dd4bf; color: var(--ink); font-weight: 800; font-size: 14px; }

.hv-word { right: 2%; bottom: 0; display: grid; gap: 2px; padding: 18px 24px; background: #fff; color: var(--ink); border: 0; font-weight: 700; font-size: 15px; animation: float 10s -1s ease-in-out infinite; }
.hv-word > span:first-child { color: var(--muted); font-size: 13px; }
.rotator { position: relative; display: block; height: 1.25em; min-width: 180px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 34px; line-height: 1.2; overflow: hidden; }
.rotator b { position: absolute; left: 0; top: 0; font-weight: 400; background: var(--grad-text-dark); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; transform: translateY(100%); transition: transform .6s var(--ease), opacity .6s; }
.rotator b.is-active { opacity: 1; transform: none; }
.rotator b.is-leaving { opacity: 0; transform: translateY(-100%); }

/* Marquee */
.marquee { position: relative; border-top: 1px solid var(--line-dark); padding: 26px 0 30px; }
.marquee__label { text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8d86b3; margin-bottom: 18px; }
.marquee__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; gap: 56px; padding-right: 56px; list-style: none; }
.marquee__list li { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 700; letter-spacing: -.02em; color: #e7e3fb; opacity: .8; }
.marquee__list .icon { width: 18px; height: 18px; color: var(--lilac); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; padding: calc(var(--header-h) + clamp(56px, 7vw, 96px)) 0 clamp(64px, 8vw, 112px); }
.page-hero--sm { padding-bottom: clamp(56px, 6vw, 80px); }
.page-hero__inner { max-width: calc(980px + var(--gutter) * 2); margin-left: 0; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.page-hero__title { margin-top: 22px; font-size: clamp(2.4rem, 5.6vw, 4.6rem); letter-spacing: -.04em; line-height: 1.02; }
.page-hero__text { margin-top: 22px; max-width: 680px; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: #bdb6dc; }
.page-hero__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 26px; font-size: 14px; font-weight: 600; color: #bdb6dc; }
.page-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.page-hero__meta .icon { width: 16px; height: 16px; color: var(--lilac); }
.page-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

.crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; font-size: 13.5px; font-weight: 600; color: #8d86b3; margin-bottom: 18px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] span { color: #d8d2f5; }

/* ---------- Services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.bento__card {
	--mx: 50%; --my: 50%;
	position: relative; grid-column: span 4; display: flex; flex-direction: column; align-items: flex-start;
	min-height: 320px; padding: 32px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
	background: var(--surface); border: 1px solid var(--line);
	transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.bento__card::before {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
	background: radial-gradient(420px circle at var(--mx) var(--my), rgba(109, 76, 255, .10), transparent 60%);
}
.bento__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(109, 76, 255, .3); }
.bento__card:hover::before { opacity: 1; }
.bento__card--1 { grid-column: span 7; background: var(--ink); color: #fff; border-color: var(--ink); }
.bento__card--1::after { content: ""; position: absolute; right: -120px; bottom: -160px; z-index: -1; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(109, 76, 255, .6), transparent 65%); filter: blur(20px); }
.bento__card--1::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .08), transparent 60%); }
.bento__card--2 { grid-column: span 5; background: linear-gradient(160deg, #f1edff, #fff 60%); }
.bento__card--6 { grid-column: span 12; min-height: 0; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 28px; align-items: center; background: linear-gradient(110deg, #e6faf6, #fff 55%); }
.bento__card--6 .bento__icon { grid-row: span 2; margin: 0; }
.bento__card--6 .bento__title { margin-top: 0; }
.bento__card--6 .bento__tags { grid-column: 3; grid-row: 1 / span 2; margin: 0 56px 0 0; }
.bento__card--6 .bento__text { margin-top: 6px; }
.bento__num { position: absolute; top: 28px; right: 32px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--muted); opacity: .7; }
.bento__card--1 .bento__num { color: #8d86b3; }
.bento__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--violet-soft); color: var(--violet); transition: transform .5s var(--ease-spring), background .3s, color .3s; }
.bento__icon .icon { width: 26px; height: 26px; }
.bento__card:hover .bento__icon { transform: rotate(-8deg) scale(1.06); background: var(--violet); color: #fff; }
.bento__card--1 .bento__icon { background: rgba(255, 255, 255, .1); color: #fff; }
.bento__card--6 .bento__icon { background: var(--teal-soft); color: var(--teal); }
.bento__title { margin-top: 28px; font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.bento__card--1 .bento__title { font-size: clamp(1.6rem, 2.8vw, 2.3rem); max-width: 420px; }
.bento__text { margin-top: 12px; color: var(--muted); font-size: 15.5px; max-width: 520px; }
.bento__card--1 .bento__text { color: #bdb6dc; font-size: 16.5px; }
.bento__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 24px; padding-right: 56px; }
.bento__card--1 .tag { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #d8d2f5; }
.bento__go { position: absolute; right: 24px; bottom: 24px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); transition: transform .45s var(--ease), background .3s, color .3s; }
.bento__go .icon { width: 20px; height: 20px; }
.bento__card:hover .bento__go { background: var(--violet); color: #fff; border-color: var(--violet); transform: rotate(45deg); }
.bento__card--1 .bento__go { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Work ---------- */
.work { background: var(--surface); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work-grid--home { grid-auto-rows: 270px; }
.work-grid--home .work-card:first-child { grid-column: span 2; grid-row: span 2; }
.work-grid--home .work-card:first-child .work-card__title { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.work-card { position: relative; min-height: 300px; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-2); isolation: isolate; }
.work-grid--home .work-card { min-height: 0; }
.work-card__link { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; }
.work-card__media { position: absolute; inset: 0; z-index: -2; background: #fff; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.06); }
.work-card__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17, 13, 38, 0) 30%, rgba(17, 13, 38, .55) 60%, rgba(17, 13, 38, .92) 100%); transition: opacity .4s; }
.work-card__body { display: grid; justify-items: start; gap: 10px; padding: 26px; color: #fff; }
.work-card__title { font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.work-card__project { font-size: 14px; color: #cfc8ee; }
.work-card__go { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink); transform: scale(.6) rotate(-45deg); opacity: 0; transition: transform .45s var(--ease-spring), opacity .3s; }
.work-card:hover .work-card__go, .work-card__link:focus-visible .work-card__go { transform: none; opacity: 1; }
.work-card__go .icon { width: 20px; height: 20px; }

/* ---------- Process (dark) ---------- */
.process .orb--3 { left: auto; right: -120px; bottom: auto; top: -160px; opacity: .45; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; counter-reset: s; }
.step { position: relative; padding: 28px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); transition: background .35s, transform .45s var(--ease), border-color .35s; }
.step:hover { background: rgba(255, 255, 255, .07); border-color: rgba(182, 156, 255, .35); transform: translateY(-4px); }
.step__top { display: flex; align-items: center; justify-content: space-between; }
.step__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(124, 92, 255, .8); }
.step__num { font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; color: rgba(255, 255, 255, .16); }
.step__title { margin-top: 26px; font-size: 1.3rem; letter-spacing: -.02em; }
.step__text { margin-top: 10px; color: #b7b0d6; font-size: 15px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(56px, 7vw, 88px) 0 0; border-top: 1px solid var(--line-dark); }
.stat { display: flex; flex-direction: column-reverse; gap: 6px; padding: 34px 24px 0; }
.stat + .stat { border-left: 1px solid var(--line-dark); }
.stat__value { margin: 0; font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { font-size: 14.5px; font-weight: 600; color: #b7b0d6; }

/* ---------- Ecosystem ---------- */
.eco-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.eco-card { --tone: var(--violet); --tone-soft: var(--violet-soft); display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.eco-card--rose { --tone: #e8487b; --tone-soft: #ffe8f0; }
.eco-card--teal { --tone: var(--teal); --tone-soft: var(--teal-soft); }
.eco-card--amber { --tone: #f0612e; --tone-soft: #fff0e6; }
.eco-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.eco-card__cover { position: relative; display: block; aspect-ratio: 5 / 4; overflow: hidden; background: var(--tone-soft); }
.eco-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.eco-card:hover .eco-card__cover img { transform: scale(1.06); }
.eco-card__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 0 24px 24px; }
.eco-card__logo { display: grid; place-items: center; width: 150px; height: 64px; margin-top: -32px; margin-bottom: 18px; padding: 8px 12px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.eco-card__logo img { max-height: 48px; width: auto; object-fit: contain; }
.eco-card__kind { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--tone); }
.eco-card__text { margin-top: 8px; color: var(--muted); font-size: 15px; }
.eco-card__visit { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 20px; font-weight: 700; font-size: 14.5px; color: var(--text); }
.eco-card__visit .icon { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.eco-card:hover .eco-card__visit { color: var(--tone); }
.eco-card:hover .eco-card__visit .icon { transform: translate(2px, -2px); }

/* ---------- Feeds ---------- */
.feeds { background: linear-gradient(180deg, var(--paper), #efecf9); }
.tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); flex: none; }
.tab { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: 14.5px; color: var(--muted); transition: background .25s, color .25s; }
.tab .icon { width: 18px; height: 18px; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab-panel { animation: fade .5s var(--ease); }
.feeds__more { margin-top: 8px; }

.rail { position: relative; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, calc((100% - 54px) / 4)); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 24px; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__controls { display: flex; justify-content: flex-end; gap: 10px; margin-top: -4px; float: right; }
.feed-card { scroll-snap-align: start; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.feed-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feed-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.feed-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.feed-card:hover .feed-card__media img { transform: scale(1.06); }
.feed-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 88px; color: #fff; background: linear-gradient(135deg, #7c5cff, #c084fc); }
.feed-card__placeholder--1 { background: linear-gradient(135deg, #14b8a6, #5eead4); }
.feed-card__placeholder--2 { background: linear-gradient(135deg, #ff5d8f, #ffb547); }
.feed-card__placeholder--3 { background: linear-gradient(135deg, #2a2260, #6d4cff); }
.feed-card__badge { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: rgba(255, 255, 255, .92); color: var(--ink); }
.feed-card__body { display: flex; flex-direction: column; flex: 1; gap: 14px; padding: 18px 18px 18px 20px; }
.feed-card__name { font-weight: 700; font-size: 15.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feed-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.feed-card__price { font-weight: 800; color: var(--violet-600); }
.feed-card__go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--paper); transition: background .3s, color .3s, transform .4s var(--ease); }
.feed-card__go .icon { width: 16px; height: 16px; }
.feed-card:hover .feed-card__go { background: var(--violet); color: #fff; transform: rotate(45deg); }

/* ---------- Post cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; padding: 10px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 20px; background: var(--paper); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__media .chip { position: absolute; left: 12px; top: 12px; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 14px 14px; }
.post-card__meta { display: flex; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.post-card__title { margin-top: 10px; font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.3; }
.post-card__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .45s var(--ease); }
.post-card:hover .post-card__title a { background-size: 100% 2px; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card__excerpt { margin-top: 10px; color: var(--muted); font-size: 15px; }
.post-card .link-arrow { margin-top: auto; padding-top: 18px; }
.thumb-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: var(--grad); color: #fff; }
.thumb-fallback .icon { width: 48px; height: 48px; opacity: .8; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 clamp(80px, 9vw, 120px); }
.section + .cta-band, .hero + .cta-band { padding-top: 0; }
.site-main > :last-child:not(.cta-band) { margin-bottom: 0; }
.cta-card { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding: clamp(40px, 6vw, 80px); border-radius: var(--r-xl); background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.cta-card__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px circle at 90% 120%, rgba(45, 212, 191, .45), transparent 60%), radial-gradient(700px circle at 0% -20%, rgba(124, 92, 255, .6), transparent 60%); }
.cta-card__glow::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.cta-card__content { max-width: 680px; }
.cta-card__title { margin-top: 20px; font-size: clamp(2rem, 4.4vw, 3.6rem); letter-spacing: -.04em; line-height: 1.04; }
.cta-card__text { margin-top: 18px; color: #c9c2ea; font-size: 1.1rem; max-width: 520px; }
.cta-card__actions { display: flex; flex-direction: column; gap: 12px; flex: none; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: #b7b0d6; padding-top: clamp(64px, 8vw, 100px); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.35fr; gap: 40px; }
.brand--footer { padding: 10px 16px; border-radius: 18px; background: #fff; }
.brand--footer img { height: 52px; }
.footer-brand p { margin-top: 22px; font-size: 15px; max-width: 320px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; list-style: none; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); color: #fff; transition: background .25s, border-color .25s, transform .35s var(--ease); }
.socials a:hover { background: var(--violet); border-color: var(--violet); transform: translateY(-3px); }
.socials .icon { width: 18px; height: 18px; }
.footer-col__title { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; font-size: 15px; }
.footer-col a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-col .ext { width: 14px; height: 14px; opacity: .5; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--lilac); }
.footer-word { margin-top: clamp(40px, 6vw, 72px); font-size: clamp(6rem, 24vw, 22rem); font-weight: 800; letter-spacing: -.07em; line-height: .78; text-align: center; background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer-word span { -webkit-text-fill-color: var(--violet); color: var(--violet); }

/* Leftover UI injected by the previous theme's companion plugin (medilazar-core) */
.notification-added-to-cart, .woocommerce-lablel-tooltip, #osf-woocommerce-cart, .handheld-footer-bar, .scrollup, .go-to-top { display: none !important; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 24px 0 30px; border-top: 1px solid var(--line-dark); font-size: 14px; position: relative; }
.footer-bottom__links { display: flex; gap: 22px; }
.footer-bottom a:hover { color: #fff; }

/* WhatsApp floating button */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; gap: 0; height: 58px; padding: 0 17px; border-radius: 999px; background: var(--green); color: #fff; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .6); transition: gap .35s var(--ease), padding .35s var(--ease), transform .35s var(--ease); }
.wa-float .icon { width: 24px; height: 24px; stroke-width: 2; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; transition: max-width .45s var(--ease); }
.wa-float:hover { gap: 10px; padding-right: 22px; transform: translateY(-3px); }
.wa-float:hover .wa-float__label { max-width: 140px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--green); z-index: -1; animation: pulse-ring 2.4s infinite; }

/* ---------- Inner pages ---------- */
.page-body { padding-block: clamp(64px, 8vw, 104px); }
.page-body--flush-top { padding-top: 0; }
.lift { position: relative; margin-top: clamp(-80px, -6vw, -48px); z-index: 2; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split__media { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--ink); aspect-ratio: 4 / 5; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.check-list { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; }
.check-list .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--violet-soft); color: var(--violet); stroke-width: 3; flex: none; }
.prose-lead { margin-top: 20px; color: var(--muted); font-size: 1.08rem; }
.prose-lead + .prose-lead { margin-top: 14px; }

.quote-card { position: relative; padding: clamp(32px, 5vw, 56px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.quote-card blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2; letter-spacing: -.01em; }
.quote-card figcaption { display: flex; align-items: center; gap: 14px; margin-top: 26px; font-weight: 700; }
.quote-card figcaption small { display: block; color: var(--muted); font-weight: 600; }
.avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { padding: 30px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.value .bento__icon { width: 52px; height: 52px; }
.value h3 { margin-top: 22px; font-size: 1.25rem; }
.value p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(109, 76, 255, .3); }
.contact-card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--violet-soft); color: var(--violet); flex: none; }
.contact-card--wa .contact-card__icon { background: #dcfce7; color: #16a34a; }
.contact-card small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { display: block; font-size: 1.08rem; margin-top: 2px; word-break: break-word; }
.map-card { overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.map-card iframe { width: 100%; height: 280px; border: 0; filter: saturate(.8); }
.form-card { padding: clamp(28px, 4vw, 48px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-card__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.03em; }
.form-card__text { margin-top: 10px; color: var(--muted); }

/* Forms (CF7, comments, generic) */
.form-card form, .comment-form { margin-top: 26px; }
.wpcf7 .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.wpcf7 .row > p, .wpcf7 .row > div { grid-column: span 2; margin: 0 0 14px; }
.wpcf7 .row > .col-md-6 { grid-column: span 1; }
.wpcf7 p { margin: 0 0 14px; }
.wpcf7 label { display: grid; gap: 8px; font-weight: 600; font-size: 14px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="password"], textarea, select {
	width: 100%; min-height: 54px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line);
	background: var(--paper); font: inherit; font-size: 15.5px; color: var(--text);
	transition: border-color .2s, box-shadow .2s, background .2s;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(109, 76, 255, .12); }
input[type="submit"], .wpcf7-submit, .comment-form .submit {
	height: 56px; padding: 0 30px; border: 0; border-radius: 999px; cursor: pointer;
	font: inherit; font-weight: 700; font-size: 16px; color: #fff;
	background: linear-gradient(135deg, #7c5cff, #5936f0); box-shadow: var(--shadow-violet);
	transition: transform .3s var(--ease), box-shadow .3s;
}
input[type="submit"]:hover { transform: translateY(-2px); }
.wpcf7-spinner { vertical-align: middle; }
.wpcf7-not-valid-tip { font-size: 13px; margin-top: 6px; color: #e11d48; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 14px 18px; border-radius: 14px; font-size: 14.5px; }

/* FAQ accordion */
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: rgba(109, 76, 255, .3); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--paper); transition: transform .35s var(--ease), background .3s, color .3s; }
.faq-item[open] summary .icon { transform: rotate(45deg); background: var(--violet); color: #fff; }
.faq-item__body { padding: 0 26px 24px; color: var(--muted); }

/* ---------- Blog / single ---------- */
.layout-blog { display: grid; gap: 22px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-bar a { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; transition: all .25s; }
.filter-bar a:hover { border-color: var(--violet); color: var(--violet); }
.filter-bar a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.pagination { margin-top: 56px; }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 48px; height: 48px; padding: 0 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; transition: all .25s; }
.pagination .page-numbers .icon { width: 18px; height: 18px; }
.pagination a.page-numbers:hover { border-color: var(--violet); color: var(--violet); }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

.article-cover { overflow: hidden; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-lg); aspect-ratio: 16 / 8; border: 6px solid #fff; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-cover--contain img { object-fit: contain; background: #fff; }

.project-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 40px; }
.fact { padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.fact small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fact strong, .fact a { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 700; }
.fact a { color: var(--violet-600); }
.fact .icon { width: 16px; height: 16px; }

.entry-content { font-size: 1.08rem; line-height: 1.8; color: #37334f; }
.entry-content > * + * { margin-top: 1.25em; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--text); margin-top: 2em; letter-spacing: -.025em; }
.entry-content h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.entry-content h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.entry-content h4 { font-size: 1.2rem; }
.entry-content a { color: var(--violet-600); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--violet); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .5em; }
.entry-content ul li::marker { color: var(--violet); }
.entry-content strong { color: var(--text); }
.entry-content img { border-radius: var(--r); }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.entry-content blockquote { margin: 2em 0; padding: 24px 28px; border-left: 4px solid var(--violet); border-radius: 0 var(--r) var(--r) 0; background: var(--violet-soft); font-size: 1.15rem; color: var(--text); }
.entry-content blockquote p { margin: 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content hr { border: 0; height: 1px; background: var(--line); margin: 2.5em 0; }
.entry-content iframe { width: 100%; border-radius: var(--r); }
.entry-content .alignwide { margin-inline: calc(-1 * clamp(0px, 8vw, 120px)); max-width: none; }
.entry-content .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.5em; }

.article-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.share { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.share a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); transition: all .25s; }
.share a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.share .icon { width: 18px; height: 18px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.post-nav a { display: grid; gap: 6px; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: all .3s var(--ease); }
.post-nav a:hover { border-color: rgba(109, 76, 255, .35); box-shadow: var(--shadow); transform: translateY(-3px); }
.post-nav small { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.post-nav strong { line-height: 1.35; }
.post-nav__next { text-align: right; }

.related { background: var(--surface); }

/* Comments */
.comments { margin-top: 64px; }
.comments__title { font-size: 1.6rem; margin-bottom: 24px; }
.comment-list { list-style: none; display: grid; gap: 16px; }
.comment-list .children { list-style: none; margin: 16px 0 0 28px; display: grid; gap: 16px; }
.comment-body { padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.comment-meta { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.comment-meta img { border-radius: 50%; }
.comment-content { margin-top: 10px; }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }

/* 404 / empty / search */
.not-found { text-align: center; }
.not-found__code { font-size: clamp(7rem, 22vw, 16rem); font-weight: 800; letter-spacing: -.07em; line-height: .9; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.empty-state { padding: 48px; border-radius: var(--r-lg); border: 1px dashed var(--line); text-align: center; color: var(--muted); background: var(--surface); }
.search-panel { max-width: 640px; margin: 34px auto 0; width: 100%; }
.search-panel .search-form__input { background: rgba(255, 255, 255, .95); border: 0; height: 58px; }
.page-hero .search-panel .btn { height: 58px; }

/* Elementor / builder pages keep full width */
.builder-content { overflow: hidden; }
.builder-content .elementor-section.elementor-section-boxed > .elementor-container { max-width: var(--container); }

/* WooCommerce minimal */
.woocommerce-page .site-main { padding-top: calc(var(--header-h) + 40px); }

/* Widgets */
.widget { padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.widget + .widget { margin-top: 18px; }
.widget__title { font-size: 1.05rem; margin-bottom: 14px; }
.widget ul { list-style: none; display: grid; gap: 8px; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .bento__card[data-reveal].is-in { transition: opacity .9s var(--ease) var(--d, 0ms), transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.js .hero__copy > * { animation: rise 1s var(--ease) both; }
.js .hero__copy > :nth-child(2) { animation-delay: .08s; }
.js .hero__copy > :nth-child(3) { animation-delay: .16s; }
.js .hero__copy > :nth-child(4) { animation-delay: .24s; }
.js .hero__copy > :nth-child(5) { animation-delay: .32s; }
.js .hero__visual { animation: fade 1.2s .3s var(--ease) both; }
.js .page-hero__inner > * { animation: rise .9s var(--ease) both; }
.js .page-hero__inner > :nth-child(2) { animation-delay: .06s; }
.js .page-hero__inner > :nth-child(3) { animation-delay: .12s; }
.js .page-hero__inner > :nth-child(4) { animation-delay: .18s; }
.js .page-hero__inner > :nth-child(5) { animation-delay: .24s; }

/* ---------- Keyframes ---------- */
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(80px, 60px) scale(1.15); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes grow { to { transform: scaleX(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); } 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.45); opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.nav__link { padding: 0 11px; font-size: 14.5px; }
	.footer-top { grid-template-columns: 1fr 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.eco-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
	:root { --header-h: 80px; }
	.nav-burger { display: inline-grid; }
	/* backdrop-filter would make the bar the containing block of the fixed drawer */
	.header-bar, .site-header.is-scrolled .header-bar { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, .97); }
	body.nav-open .site-header { z-index: 160; transform: none; }
	.nav {
		position: fixed; inset: 0 0 0 auto; z-index: 150; width: min(400px, 90vw);
		display: flex; flex-direction: column; margin: 0; padding: 18px 20px 24px;
		background: #fff; box-shadow: -20px 0 60px rgba(17, 13, 38, .25); overflow-y: auto;
		transform: translateX(105%); visibility: hidden; transition: transform .5s var(--ease), visibility .5s;
	}
	.nav.is-open { transform: none; visibility: visible; }
	.nav__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
	.nav__head .brand img { height: 42px; }
	.nav__foot { display: grid; gap: 10px; margin-top: auto; padding-top: 24px; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.nav__link { flex: 1; height: 58px; padding: 0 4px; font-size: 17px; border-radius: 0; background: none !important; }
	.nav__toggle { width: 48px; height: 58px; }
	.nav__sub, .nav__mega, .has-mega--brands .nav__mega {
		position: static; width: 100%; min-width: 0; padding: 0 0 14px; border: 0; box-shadow: none; border-radius: 0;
		opacity: 1; visibility: visible; transform: none; display: none;
	}
	.nav__sub::before { display: none; }
	.nav__item.is-open > .nav__sub { display: block; transform: none; }
	.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { transform: none; }
	.nav__item:hover .nav__toggle .icon { transform: none; }
	.nav__item.is-open .nav__toggle .icon { transform: rotate(180deg); }
	.mega-grid, .mega-brands { grid-template-columns: 1fr; }
	.mega-link, .mega-brand { padding: 8px 4px; }
	.mega-foot { display: none; }
	.nav-scrim { position: fixed; inset: 0; z-index: 140; background: rgba(17, 13, 38, .5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fade .3s; }
	.nav-scrim[hidden] { display: none; }

	.hero__inner { grid-template-columns: 1fr; }
	.hero__visual { height: 460px; max-width: 580px; width: 100%; margin-inline: auto; }
	.bento__card, .bento__card--1, .bento__card--2 { grid-column: span 6; }
	.bento__card--6 { grid-column: span 12; }
	.work-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
	.work-grid--home { grid-auto-rows: 250px; }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(3) { border-left: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid var(--line-dark); padding-bottom: 34px; margin-top: 34px; }
	.split, .contact-grid { grid-template-columns: 1fr; }
	.split__media { aspect-ratio: 16 / 10; }
	.values { grid-template-columns: 1fr 1fr; }
	.cta-card { flex-direction: column; align-items: flex-start; }
	.cta-card__actions { flex-direction: row; flex-wrap: wrap; }
	.rail__track { grid-auto-columns: minmax(240px, calc((100% - 36px) / 3)); }
}

@media (max-width: 720px) {
	body { font-size: 15.5px; }
	.site-header { padding-top: 10px; }
	.header-bar { height: 62px; padding: 0 8px 0 16px; }
	.brand img { height: 38px; }
	.header-cta { display: none; }
	.section-head { flex-direction: column; align-items: flex-start; }
	.hero__title { font-size: clamp(2.4rem, 11vw, 3.4rem); }
	.hero__actions .btn { flex: 1 1 auto; }
	.hero__visual { height: 400px; }
	.hv-main { inset: 12% 0 auto 0; }
	.hv-rank { right: 0; top: 0; }
	.hv-toast { bottom: 10%; }
	.hv-word { right: 0; }
	.rotator { font-size: 28px; min-width: 150px; }
	.bento__card, .bento__card--1, .bento__card--2, .bento__card--6 { grid-column: span 12; }
	.bento__card { min-height: 0; padding: 26px; }
	.bento__card--6 { display: flex; }
	.bento__card--6 .bento__tags { margin: 0; padding-top: 22px; }
	.bento__card--6 .bento__title { margin-top: 24px; }
	.work-grid, .post-grid, .eco-grid, .values, .steps { grid-template-columns: 1fr; }
	.work-grid--home { grid-auto-rows: 280px; }
	.work-grid--home .work-card:first-child { grid-column: auto; grid-row: auto; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stat { padding-inline: 12px; }
	.rail__track { grid-auto-columns: 78%; }
	.tabs { width: 100%; }
	.tab { flex: 1; justify-content: center; padding: 0 10px; font-size: 13.5px; }
	.tab .icon { display: none; }
	.footer-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
	.footer-col--contact { grid-column: 1 / -1; }
	.cta-card__actions .btn { flex: 1 1 auto; }
	.wpcf7 .row > .col-md-6 { grid-column: span 2; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav__next { text-align: left; }
	.article-cover { aspect-ratio: 4 / 3; }
	.wa-float { right: 14px; bottom: 14px; height: 54px; padding: 0 15px; }
	.search-overlay { padding-top: 90px; }
	.search-overlay__panel { border-radius: 24px; }
	.search-form .btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.hv-line { stroke-dashoffset: 0; }
	.hv-area, .hv-point { opacity: 1; }
	.hv-bar::after { transform: none; }
}
