/* =========================================================
   Apple Lab Glass – main stylesheet
   Light "visionOS" glass, 3D tilt, fluid type. No frameworks.
   ========================================================= */

:root {
	--alg-accent: #0071e3;
	--alg-accent-2: #2997ff;
	--alg-accent-3: #86868b;
	--alg-ink: #1d1d1f;
	--alg-ink-2: #424245;
	--alg-muted: #6e6e73;
	--alg-bg: #f2f2f4;
	--alg-glass: rgba(255, 255, 255, .62);
	--alg-glass-strong: rgba(255, 255, 255, .84);
	--alg-glass-line: rgba(255, 255, 255, .75);
	--alg-glass-edge: rgba(0, 0, 0, .05);
	--alg-shadow: 0 1px 1px rgba(15, 23, 42, .04), 0 10px 30px -10px rgba(15, 23, 42, .18), 0 30px 60px -30px rgba(15, 23, 42, .18);
	--alg-shadow-lift: 0 2px 2px rgba(15, 23, 42, .04), 0 24px 50px -16px rgba(15, 23, 42, .28), 0 50px 80px -40px rgba(0, 0, 0, .08);
	--alg-r: 28px;
	--alg-r-sm: 18px;
	--alg-wrap: 1240px;
	--alg-gutter: clamp(16px, 4vw, 32px);
	--alg-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
	--alg-ease: cubic-bezier(.2, .8, .2, 1);
	--alg-spring: cubic-bezier(.34, 1.56, .64, 1);
	--alg-header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--alg-header-h) + 24px); }
body.alg {
	background-image: linear-gradient(180deg, #fbfbfd 0%, #f2f2f4 40%, #ececef 100%);
	margin: 0;
	font-family: var(--alg-font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--alg-ink-2);
	background: var(--alg-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
.alg img { max-width: 100%; height: auto; }
.alg a { color: inherit; }
.alg :focus-visible { outline: 3px solid color-mix(in srgb, var(--alg-accent) 55%, transparent); outline-offset: 3px; border-radius: 10px; }
.alg h1, .alg h2, .alg h3, .alg h4 { color: var(--alg-ink); letter-spacing: -.022em; line-height: 1.1; text-wrap: balance; }
.alg p { text-wrap: pretty; }
.alg-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: #fff; padding: 10px 16px; border-radius: 12px; }
.alg-skip:focus { top: 12px; }
.alg-wrap { width: min(100% - 2 * var(--alg-gutter), var(--alg-wrap)); margin-inline: auto; }
.alg-main { position: relative; z-index: 1; padding-top: calc(var(--alg-header-h) + 28px); min-height: 60vh; }
.alg-center { text-align: center; }
.alg [hidden] { display: none !important; }

/* ---------- Ambient background ---------- */
.alg-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.alg-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .9; will-change: transform; animation: alg-drift 26s var(--alg-ease) infinite alternate; }
.alg-orb--1 { width: 52vmax; height: 52vmax; left: -14vmax; top: -18vmax; background: radial-gradient(circle at 30% 30%, #ffffff, transparent 62%); }
.alg-orb--2 { width: 46vmax; height: 46vmax; right: -16vmax; top: 10vh; background: radial-gradient(circle at 60% 40%, #dcdce2, transparent 65%); animation-duration: 32s; animation-delay: -8s; }
.alg-orb--3 { width: 40vmax; height: 40vmax; left: 20vw; bottom: -22vmax; background: radial-gradient(circle at 50% 50%, #d6e6f7, transparent 65%); animation-duration: 38s; animation-delay: -14s; }
.alg-grain { position: absolute; inset: 0; opacity: .035; 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 baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes alg-drift {
	0% { transform: translate3d(0, 0, 0) scale(1); }
	50% { transform: translate3d(6vw, 4vh, 0) scale(1.08); }
	100% { transform: translate3d(-4vw, 8vh, 0) scale(.96); }
}

/* ---------- Glass primitive ---------- */
.alg-glass {
	position: relative;
	background: var(--alg-glass);
	border: 1px solid var(--alg-glass-line);
	border-radius: var(--alg-r);
	box-shadow: var(--alg-shadow), inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 0 0 1px var(--alg-glass-edge);
	-webkit-backdrop-filter: blur(22px) saturate(170%);
	backdrop-filter: blur(22px) saturate(170%);
}
.alg-glass--strong { background: var(--alg-glass-strong); }
.alg-glass--dark {
	background: linear-gradient(140deg, rgba(29, 29, 31, .94), rgba(44, 44, 48, .9));
	border-color: rgba(255, 255, 255, .12);
	color: rgba(255, 255, 255, .78);
	box-shadow: 0 30px 80px -30px rgba(10, 20, 60, .55), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.alg-glass--dark h2, .alg-glass--dark h3, .alg-glass--dark strong { color: #fff; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.alg-glass { background: rgba(255, 255, 255, .92); }
}

/* Light sweep used on tilt cards */
.alg-shine { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .55), transparent 45%); opacity: 0; transition: opacity .35s var(--alg-ease); mix-blend-mode: soft-light; }
.alg-tilt:hover .alg-shine { opacity: 1; }

/* 3D tilt */
.alg-tilt { transform-style: preserve-3d; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0); transition: transform .5s var(--alg-ease), box-shadow .4s var(--alg-ease); }
.alg-tilt.is-tilting { transition: transform .08s linear, box-shadow .4s var(--alg-ease); }
.alg-tilt:hover { box-shadow: var(--alg-shadow-lift), inset 0 1px 0 rgba(255, 255, 255, .95); }

/* ---------- Type helpers ---------- */
.alg-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--alg-accent); }
.alg-eyebrow--light { color: #8fd0ff; }
.alg-dot { width: 8px; height: 8px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 0 rgba(48, 209, 88, .6); animation: alg-ping 2s infinite; }
@keyframes alg-ping { 70% { box-shadow: 0 0 0 10px rgba(48, 209, 88, 0); } 100% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0); } }
.alg-lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--alg-ink-2); max-width: 58ch; }
.alg-grad { background: linear-gradient(100deg, var(--alg-ink) 10%, var(--alg-accent) 55%, var(--alg-accent-2) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.alg-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1; text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--alg-ease), box-shadow .25s var(--alg-ease), background-color .25s, color .25s; -webkit-tap-highlight-color: transparent; }
.alg-pill:active { transform: scale(.96); }
.alg-pill--lg { min-height: 54px; padding: 14px 26px; font-size: 16px; }
.alg-pill--accent { color: #fff !important; background: linear-gradient(135deg, var(--alg-accent), color-mix(in srgb, var(--alg-accent) 60%, var(--alg-accent-2))); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--alg-accent) 80%, transparent), inset 0 1px 0 rgba(255, 255, 255, .35); }
.alg-pill--accent:hover { box-shadow: 0 16px 30px -10px color-mix(in srgb, var(--alg-accent) 90%, transparent), inset 0 1px 0 rgba(255, 255, 255, .35); }
.alg-pill--ghost { color: var(--alg-ink); background: rgba(255, 255, 255, .5); border-color: rgba(255, 255, 255, .8); }
.alg-pill--ghost:hover { background: #fff; }
.alg-pill--glass { color: var(--alg-ink); background: rgba(255, 255, 255, .55); border-color: rgba(255, 255, 255, .85); box-shadow: var(--alg-shadow); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.alg-pill--white { color: var(--alg-ink) !important; background: #fff; }
.alg-pill--line { color: #fff !important; border-color: rgba(255, 255, 255, .35); }
.alg-pill--line:hover { background: rgba(255, 255, 255, .1); }
.alg-pill .alg-ic { flex: none; }

/* =========================================================
   HEADER
   ========================================================= */
.alg-header { position: fixed; z-index: 100; top: 12px; left: 0; right: 0; width: min(100% - 24px, 1280px); margin-inline: auto; transition: transform .45s var(--alg-ease); }
.alg-header.is-hidden { transform: translateY(calc(-100% - 20px)); }
.alg-header__bar { display: flex; align-items: center; gap: 18px; height: 64px; padding: 0 10px 0 22px; border-radius: 999px; transition: background-color .3s, box-shadow .3s; }
.alg-header.is-scrolled .alg-header__bar { background: var(--alg-glass-strong); }
.alg-brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.alg-brand img { height: 40px; width: auto; display: block; }
.alg-brand__text { font-weight: 700; font-size: 19px; color: var(--alg-ink); letter-spacing: -.02em; }
.alg-nav { flex: 1; display: flex; justify-content: center; }
.alg-nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.alg-nav__list > li > a, .alg-nav__trigger { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 14px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 500; color: var(--alg-ink); text-decoration: none; background: none; border: 0; cursor: pointer; transition: background-color .2s; }
.alg-nav__list > li > a:hover, .alg-nav__trigger:hover, .alg-nav__trigger[aria-expanded="true"], .alg-nav__list a[aria-current="page"] { background: rgba(255, 255, 255, .8); }
.alg-nav__trigger .alg-ic { transition: transform .3s var(--alg-ease); }
.alg-nav__trigger[aria-expanded="true"] .alg-ic { transform: rotate(180deg); }
.alg-header__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.alg-burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .7); cursor: pointer; position: relative; }
.alg-burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--alg-ink); transition: transform .35s var(--alg-ease), top .35s var(--alg-ease); }
.alg-burger span:first-child { top: 17px; }
.alg-burger span:last-child { top: 25px; }
.alg-burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.alg-burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Mega menu */
.alg-mega { position: absolute; left: 50%; top: calc(100% + 10px); width: min(100%, 1100px); transform: translateX(-50%); display: grid; grid-template-columns: 250px 1fr; gap: 10px; padding: 12px; border-radius: 30px; max-height: calc(100vh - 120px); }
.alg-mega:not([hidden]) { animation: alg-pop .35s var(--alg-ease); }
@keyframes alg-pop { from { opacity: 0; transform: translateX(-50%) translateY(-8px) scale(.98); } }
.alg-mega__tabs { display: flex; flex-direction: column; gap: 4px; }
.alg-mega__tab { display: flex; align-items: center; gap: 12px; padding: 12px; border: 0; border-radius: 18px; background: none; text-align: left; font: inherit; cursor: pointer; color: var(--alg-ink-2); transition: background-color .2s; }
.alg-mega__tab strong { display: block; font-size: 15px; color: var(--alg-ink); }
.alg-mega__tab small { display: block; font-size: 12px; color: var(--alg-muted); }
.alg-mega__tab:hover, .alg-mega__tab[aria-selected="true"] { background: rgba(255, 255, 255, .9); box-shadow: 0 6px 18px -10px rgba(15, 23, 42, .25); }
.alg-mega__ico { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 14px; color: var(--alg-accent); background: linear-gradient(145deg, #fff, rgba(255, 255, 255, .5)); box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06), 0 4px 10px -6px rgba(15, 23, 42, .3); }
.alg-mega__panels { overflow: auto; padding: 10px 14px 14px; border-radius: 20px; background: rgba(255, 255, 255, .55); }
.alg-mega__panel:not([hidden]) { animation: alg-fade .3s var(--alg-ease); }
@keyframes alg-fade { from { opacity: 0; transform: translateY(4px); } }
.alg-mega__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 4px 26px; }
.alg-mega__col { margin-bottom: 14px; }
.alg-mega__col:only-child ul { columns: 4 150px; column-gap: 26px; }
.alg-mega__col li { break-inside: avoid; }
.alg-mega__h { display: block; margin: 6px 0 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--alg-accent); text-decoration: none; }
.alg-mega__col ul { list-style: none; margin: 0; padding: 0; }
.alg-mega__col a:not(.alg-mega__h) { display: block; padding: 5px 0; font-size: 14px; color: var(--alg-ink-2); text-decoration: none; transition: color .2s, transform .2s var(--alg-ease); }
.alg-mega__col a:not(.alg-mega__h):hover { color: var(--alg-accent); transform: translateX(3px); }
.alg-mega__all { margin-top: 6px; }

/* Mobile drawer */
.alg-drawer { position: fixed; inset: 0; z-index: 99; padding: 88px 12px 96px; background: rgba(238, 241, 247, .4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.alg-drawer:not([hidden]) { animation: alg-fadein .3s var(--alg-ease); }
@keyframes alg-fadein { from { opacity: 0; } }
.alg-drawer__inner { height: 100%; overflow: auto; overscroll-behavior: contain; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.alg-drawer__inner:not([hidden]) { animation: alg-slide .4s var(--alg-ease); }
@keyframes alg-slide { from { transform: translateY(16px) scale(.98); opacity: 0; } }
.alg-drawer__link, .alg-acc summary { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; font-size: 17px; font-weight: 600; color: var(--alg-ink); text-decoration: none; cursor: pointer; }
.alg-drawer__link:hover, .alg-acc summary:hover { background: rgba(255, 255, 255, .7); }
.alg-acc summary { list-style: none; }
.alg-acc summary::-webkit-details-marker { display: none; }
.alg-acc summary small { margin-left: auto; font-weight: 500; font-size: 13px; color: var(--alg-muted); }
.alg-acc summary > .alg-ic:last-child { transition: transform .3s var(--alg-ease); }
.alg-acc[open] summary > .alg-ic:last-child { transform: rotate(180deg); }
.alg-acc__body { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; padding: 4px 12px 14px 66px; }
.alg-acc__body a { padding: 6px 0; font-size: 15px; color: var(--alg-ink-2); text-decoration: none; }
.alg-acc__all { grid-column: 1 / -1; font-weight: 600; color: var(--alg-accent) !important; }
.alg-acc__h { grid-column: 1 / -1; margin-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--alg-muted); }
.alg-drawer__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 12px; }
.alg-lock { overflow: hidden; }

/* =========================================================
   HOMEPAGE
   ========================================================= */
.alg-sec { padding-block: clamp(56px, 8vw, 110px) 0; }
.alg-sec-head { max-width: 760px; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.alg-sec-head h2 { font-size: clamp(30px, 4.4vw, 56px); margin: 10px 0 12px; }
.alg-sec-head p { color: var(--alg-muted); margin: 0; }

/* Hero */
.alg-hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 4vw, 60px); min-height: min(86vh, 820px); padding-block: 20px 40px; }
.alg-hero__title { margin: 16px 0 18px; font-size: clamp(42px, 7vw, 92px); font-weight: 750; letter-spacing: -.04em; line-height: .98; }
.alg-hero__title .alg-grad { display: block; padding-bottom: .06em; }
.alg-hero__sub { display: block; margin-top: 14px; font-size: clamp(18px, 2vw, 26px); font-weight: 600; letter-spacing: -.015em; color: var(--alg-ink-2); }
.alg-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.alg-chips { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 500; color: var(--alg-ink-2); }
.alg-chips li { display: inline-flex; align-items: center; gap: 6px; }
.alg-chips .alg-ic { color: #30d158; }

.alg-hero__stage { position: relative; aspect-ratio: 1; perspective: 1200px; }
.alg-stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--srx, 0deg)) rotateY(var(--sry, 0deg)); transition: transform .6s var(--alg-ease); }
.alg-stage__ring { position: absolute; inset: 8%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .9); box-shadow: inset 0 0 60px rgba(0, 0, 0, .04); animation: alg-spin 40s linear infinite; }
.alg-stage__ring::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--alg-accent); box-shadow: 0 0 18px var(--alg-accent); }
.alg-stage__ring--2 { inset: 20%; animation-duration: 28s; animation-direction: reverse; }
.alg-stage__ring--2::after { background: var(--alg-accent-2); box-shadow: 0 0 18px var(--alg-accent-2); }
@keyframes alg-spin { to { transform: rotate(360deg); } }
.alg-stage__disc { position: absolute; inset: 18%; border-radius: 50%; transform: translateZ(10px); background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, .9), rgba(255, 255, 255, .25) 60%); }
.alg-stage__img { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; transform: translateZ(60px); filter: drop-shadow(0 40px 40px rgba(15, 23, 42, .28)); animation: alg-bob 7s ease-in-out infinite; }
@keyframes alg-bob { 50% { translate: 0 -14px; } }
.alg-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 20px; font-size: 14px; font-weight: 600; color: var(--alg-ink); white-space: nowrap; animation: alg-bob 6s ease-in-out infinite; }
.alg-float strong { font-size: 26px; letter-spacing: -.03em; background: linear-gradient(135deg, var(--alg-accent), var(--alg-accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.alg-float span { max-width: 9em; white-space: normal; line-height: 1.2; }
.alg-float .alg-ic { color: var(--alg-accent); }
.alg-float--a { left: -2%; top: 18%; transform: translateZ(110px); animation-delay: -1s; }
.alg-float--b { right: 0; top: 8%; transform: translateZ(80px); animation-delay: -3s; }
.alg-float--c { right: 4%; bottom: 12%; transform: translateZ(130px); animation-delay: -2s; }

/* Device picker */
.alg-devices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.alg-device { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 12px 22px; text-align: center; text-decoration: none; color: var(--alg-ink); }
.alg-device__ico { display: grid; place-items: center; width: 70px; height: 70px; margin-bottom: 10px; border-radius: 22px; color: var(--alg-accent); background: linear-gradient(150deg, #fff, rgba(255, 255, 255, .4)); box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .05), 0 12px 24px -14px rgba(10, 132, 255, .6); transform: translateZ(40px); transition: transform .5s var(--alg-spring); }
.alg-device:hover .alg-device__ico { transform: translateZ(60px) scale(1.06); }
.alg-device strong { font-size: 17px; transform: translateZ(26px); }
.alg-device small { color: var(--alg-muted); font-size: 13px; transform: translateZ(18px); }

/* Services */
.alg-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.alg-service { display: flex; flex-direction: column; padding: 16px; text-decoration: none; color: var(--alg-ink); overflow: hidden; }
.alg-service--big { grid-column: span 2; flex-direction: row; align-items: center; gap: 10px; }
.alg-service__media { display: grid; place-items: center; aspect-ratio: 1.25; border-radius: 20px; background: radial-gradient(circle at 50% 35%, #fff, rgba(255, 255, 255, .2) 70%); transform: translateZ(30px); }
.alg-service--big .alg-service__media { flex: 0 0 46%; aspect-ratio: 1; }
.alg-service__media img { width: 78%; height: 78%; object-fit: contain; transition: transform .7s var(--alg-ease); filter: drop-shadow(0 18px 20px rgba(15, 23, 42, .18)); }
.alg-service:hover .alg-service__media img { transform: scale(1.08) translateY(-4px); }
.alg-service__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 6px 4px; transform: translateZ(20px); }
.alg-service__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; margin-bottom: 4px; color: var(--alg-accent); background: color-mix(in srgb, var(--alg-accent) 12%, white); }
.alg-service__body strong { font-size: 18px; letter-spacing: -.01em; }
.alg-service--big .alg-service__body strong { font-size: clamp(22px, 2.2vw, 30px); }
.alg-service__body small { font-size: 14px; color: var(--alg-muted); line-height: 1.45; }
.alg-service__go { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--alg-ink); transform: translateZ(40px) rotate(-45deg); transition: transform .4s var(--alg-spring), background-color .3s, color .3s; }
.alg-service:hover .alg-service__go { transform: translateZ(40px) rotate(0); background: var(--alg-accent); color: #fff; }

/* About */
.alg-about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.alg-about__media { position: sticky; top: calc(var(--alg-header-h) + 30px); }
.alg-frame { position: relative; border-radius: 34px; padding: 10px; background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .85); box-shadow: var(--alg-shadow-lift); }
.alg-frame img { display: block; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 26px; }
.alg-frame__badge { position: absolute; left: -16px; bottom: 28px; padding: 14px 18px; border-radius: 20px; transform: translateZ(50px); }
.alg-frame__badge strong { display: block; font-size: 28px; letter-spacing: -.03em; color: var(--alg-ink); line-height: 1; }
.alg-frame__badge span { font-size: 13px; color: var(--alg-muted); }
.alg-about__copy h2 { font-size: clamp(30px, 3.8vw, 50px); margin: 10px 0 18px; }
.alg-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.alg-pillar { padding: 20px; border-radius: 22px; }
.alg-pillar strong { display: block; margin: 10px 0 4px; font-size: 17px; color: var(--alg-ink); }
.alg-pillar p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--alg-muted); }
.alg-pillar__ico, .alg-why__ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--alg-accent), var(--alg-accent-2)); box-shadow: 0 10px 20px -10px var(--alg-accent); }

/* Numbers */
.alg-numbers { padding: clamp(28px, 4vw, 56px); border-radius: 36px; overflow: hidden; }
.alg-numbers::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; aspect-ratio: 1; background: radial-gradient(circle, rgba(41, 151, 255, .22), transparent 60%); pointer-events: none; }
.alg-counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-bottom: clamp(24px, 3vw, 40px); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.alg-counter strong { display: block; font-size: clamp(34px, 4.6vw, 60px); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff, #c7c7cc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.alg-counter > span { display: block; margin-top: 8px; font-size: 14px; }
.alg-rates { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: center; padding-top: clamp(24px, 3vw, 40px); }
.alg-rates__copy h2 { font-size: clamp(26px, 3vw, 40px); margin: 0 0 10px; }
.alg-rates__copy p { margin: 0; }
.alg-rings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.alg-ring { display: grid; justify-items: center; text-align: center; }
.alg-ring svg, .alg-ring strong { grid-area: 1 / 1; }
.alg-ring svg { width: 100%; max-width: 130px; transform: rotate(-90deg); }
.alg-ring circle { fill: none; stroke-width: 9; }
.alg-ring__bg { stroke: rgba(255, 255, 255, .1); }
.alg-ring__fg { stroke: var(--alg-accent); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--alg-ease); }
.alg-ring.is-in .alg-ring__fg { stroke-dashoffset: calc(100 - var(--v)); }
.alg-ring strong { align-self: center; font-size: 24px; font-variant-numeric: tabular-nums; }
.alg-ring span { display: block; margin-top: 8px; font-size: 13px; }
.alg-numbers__note { margin: 22px 0 0; font-size: 12px; opacity: .6; }

/* Steps */
.alg-steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.alg-steps__line { position: absolute; left: 6%; right: 6%; top: 46px; height: 2px; background: rgba(15, 23, 42, .08); border-radius: 2px; overflow: hidden; }
.alg-steps__line span { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, var(--alg-accent), var(--alg-accent-2)); transition: width .2s linear; }
.alg-step { padding: 22px 18px; border-radius: 24px; }
.alg-step__n { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 50%; font-size: 18px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--alg-accent), var(--alg-accent-2)); box-shadow: 0 0 0 6px rgba(255, 255, 255, .8), 0 12px 24px -10px var(--alg-accent); }
.alg-step strong { display: block; font-size: 17px; color: var(--alg-ink); margin-bottom: 6px; }
.alg-step p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--alg-muted); }

/* Why */
.alg-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.alg-why__card { padding: 28px; }
.alg-why__card strong { display: block; margin: 16px 0 8px; font-size: 19px; color: var(--alg-ink); transform: translateZ(24px); }
.alg-why__card p { margin: 0; color: var(--alg-muted); font-size: 15px; transform: translateZ(14px); }
.alg-why__ico { width: 50px; height: 50px; border-radius: 16px; transform: translateZ(40px); }

/* Marquee */
.alg-marquee-wrap { overflow: hidden; }
.alg-marquee { overflow: hidden; padding: 8px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.alg-marquee__track { display: flex; gap: 10px; width: max-content; animation: alg-marquee 80s linear infinite; }
.alg-marquee--rev .alg-marquee__track { animation-direction: reverse; animation-duration: 95s; }
.alg-marquee:hover .alg-marquee__track { animation-play-state: paused; }
@keyframes alg-marquee { to { transform: translateX(-50%); } }
.alg-chip-link { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--alg-ink); text-decoration: none; white-space: nowrap; transition: background-color .25s, color .25s; }
.alg-chip-link .alg-ic { color: var(--alg-accent); }
.alg-chip-link:hover { background: #fff; color: var(--alg-accent); }

/* Visit */
.alg-visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; padding-bottom: 20px; }
.alg-visit__card { padding: clamp(24px, 3.5vw, 44px); }
.alg-visit__card h2 { font-size: clamp(28px, 3.4vw, 44px); margin: 10px 0 20px; }
.alg-visit__map { overflow: hidden; min-height: 360px; padding: 8px; }
.alg-visit__map iframe { width: 100%; height: 100%; min-height: 344px; border: 0; border-radius: 22px; filter: saturate(1.1) contrast(1.02); }

/* =========================================================
   INNER PAGES
   ========================================================= */
.alg-crumbs { margin-bottom: 18px; }
.alg-crumbs__nav { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; font-size: 13.5px; color: var(--alg-muted); }
.alg-crumbs__nav a { color: var(--alg-ink-2); text-decoration: none; }
.alg-crumbs__nav a:hover { color: var(--alg-accent); }
.alg-crumbs__nav [aria-current], .alg-crumbs__nav .breadcrumb_last { color: var(--alg-ink); font-weight: 600; }
.alg-page-hero { margin-bottom: 18px; }
.alg-page-hero__card { padding: clamp(28px, 5vw, 64px); }
.alg-page-hero h1 { margin: 10px 0 0; font-size: clamp(32px, 5vw, 64px); }
.alg-article { margin-bottom: 40px; }
.alg-article__media { padding: 8px; margin-bottom: 18px; overflow: hidden; }
.alg-article__media img { display: block; width: 100%; border-radius: 22px; }
.alg-prose { padding: clamp(22px, 4vw, 56px); }
.alg-prose > :first-child { margin-top: 0; }
.alg-prose h2 { font-size: clamp(24px, 3vw, 34px); margin: 1.6em 0 .5em; }
.alg-prose h3 { font-size: clamp(20px, 2.2vw, 26px); margin: 1.4em 0 .5em; }
.alg-prose a { color: var(--alg-accent); }
.alg-prose img { border-radius: var(--alg-r-sm); }
.alg-prose blockquote { margin: 1.5em 0; padding: 1em 1.4em; border-left: 3px solid var(--alg-accent); background: rgba(255, 255, 255, .5); border-radius: 0 16px 16px 0; }
.alg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.alg-card { padding: 16px; text-decoration: none; color: var(--alg-ink-2); }
.alg-card__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; }
.alg-card__title { font-size: 20px; margin: 14px 0 6px; }
.alg-pager { margin: 30px auto; }
.alg-pager .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.alg-pager .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; background: var(--alg-glass); text-decoration: none; }
.alg-pager .page-numbers.current { background: var(--alg-accent); color: #fff; }

/* Model grid (hub pages) */
.alg-models { padding-block: clamp(40px, 6vw, 80px) 10px; }
.alg-models__sub { margin: 30px 0 14px; font-size: clamp(20px, 2.2vw, 26px); }
.alg-models__sub a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.alg-models__sub a:hover { color: var(--alg-accent); }
.alg-models__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.alg-model { display: flex; flex-direction: column; gap: 4px; padding: 20px; min-height: 150px; text-decoration: none; color: var(--alg-ink); border-radius: 24px; }
.alg-model__icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: auto; border-radius: 16px; color: var(--alg-accent); background: linear-gradient(150deg, #fff, rgba(255, 255, 255, .4)); box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .05); transform: translateZ(36px); }
.alg-model__name { margin-top: 18px; font-size: 17px; font-weight: 650; letter-spacing: -.01em; line-height: 1.25; transform: translateZ(22px); }
.alg-model__meta { font-size: 13px; color: var(--alg-muted); transform: translateZ(14px); }
.alg-model__go { position: absolute; right: 16px; top: 18px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .8); transform: translateZ(30px) rotate(-45deg); transition: transform .4s var(--alg-spring), background-color .3s, color .3s; }
.alg-model:hover .alg-model__go { transform: translateZ(30px) rotate(0); background: var(--alg-accent); color: #fff; }

/* =========================================================
   EXISTING ELEMENTOR CONTENT → GLASS
   Applies to all 113 Elementor pages without editing them.
   ========================================================= */
.alg [data-elementor-type="wp-page"], .alg [data-elementor-type="wp-post"] { position: relative; }
body.alg-glassify :is(
	[data-elementor-type="wp-page"] > .elementor-section.elementor-top-section,
	[data-elementor-type="wp-page"] > .elementor-section-wrap > .elementor-section.elementor-top-section,
	[data-elementor-type="wp-page"] > .elementor-inner > .elementor-section-wrap > .elementor-section.elementor-top-section,
	[data-elementor-type="wp-page"] > .e-con.e-parent
) {
	width: min(100% - 2 * var(--alg-gutter), var(--alg-wrap)) !important;
	max-width: var(--alg-wrap) !important;
	left: auto !important;
	margin: 0 auto 18px !important;
	border-radius: var(--alg-r) !important;
	background-color: var(--alg-glass) !important;
	border: 1px solid var(--alg-glass-line);
	box-shadow: var(--alg-shadow), inset 0 1px 0 rgba(255, 255, 255, .9);
	-webkit-backdrop-filter: blur(22px) saturate(170%);
	backdrop-filter: blur(22px) saturate(170%);
	overflow: hidden;
}
body.alg-glassify [data-elementor-type="wp-page"] .elementor-background-overlay { border-radius: inherit; }
body.alg-glassify [data-elementor-type="wp-page"] .elementor-section .elementor-container { max-width: 100%; }
/* Inner columns / boxes become soft cards */
body.alg-glassify [data-elementor-type="wp-page"] .elementor-inner-section .elementor-column > .elementor-widget-wrap,
body.alg-glassify [data-elementor-type="wp-page"] .e-con.e-child:has(> .elementor-widget-image, > .elementor-widget-aux_image, > .elementor-widget-icon-box) {
	border-radius: 22px;
}
/* Typography harmonised */
.alg [data-elementor-type="wp-page"] .elementor-heading-title { letter-spacing: -.02em; text-wrap: balance; }
.alg [data-elementor-type="wp-page"] h1.elementor-heading-title { font-size: clamp(30px, 4.6vw, 58px); line-height: 1.05; }
.alg [data-elementor-type="wp-page"] .elementor-widget-text-editor { line-height: 1.7; }
.alg [data-elementor-type="wp-page"] .elementor-widget-text-editor a { color: var(--alg-accent); }
/* Media */
.alg [data-elementor-type="wp-page"] .elementor-widget-image img,
.alg [data-elementor-type="wp-page"] .elementor-widget-aux_image img,
.alg [data-elementor-type="wp-page"] .gallery-item img,
.alg [data-elementor-type="wp-page"] .elementor-image-gallery img { border-radius: var(--alg-r-sm); transition: transform .6s var(--alg-ease), box-shadow .4s; }
.alg [data-elementor-type="wp-page"] .elementor-widget-image a:hover img,
.alg [data-elementor-type="wp-page"] .elementor-widget-aux_image a:hover img { transform: translateY(-4px) scale(1.02); box-shadow: var(--alg-shadow-lift); }
.alg [data-elementor-type="wp-page"] .elementor-widget-aux_image .aux-media-frame,
.alg [data-elementor-type="wp-page"] .elementor-widget-aux_image .aux-frame-ratio { border-radius: var(--alg-r-sm); overflow: hidden; }
.alg [data-elementor-type="wp-page"] .elementor-widget-google_maps iframe { border-radius: 22px; }
/* Icon lists → glass chips */
.alg [data-elementor-type="wp-page"] .elementor-icon-list-items:not(.elementor-inline-items) .elementor-icon-list-item { padding: 6px 0; }
/* Buttons */
.alg [data-elementor-type="wp-page"] .elementor-button { border-radius: 999px; transition: transform .25s var(--alg-ease), box-shadow .25s; }
.alg [data-elementor-type="wp-page"] .elementor-button:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -12px color-mix(in srgb, var(--alg-accent) 80%, transparent); }
/* Elementor full-width template spacing */
.alg .elementor-template-full-width .alg-main, .alg.elementor-template-full-width .alg-main { padding-top: calc(var(--alg-header-h) + 28px); }
.alg-el-page { padding-bottom: 20px; }
/* Hide the old Phlox page title bar if any plugin still prints it */
.alg .aux-wrapper > .aux-page-title-entry, .alg .page-title-section { display: none; }

/* =========================================================
   FOOTER, FAB, DOCK
   ========================================================= */
.alg-footer { position: relative; z-index: 1; padding: clamp(48px, 6vw, 90px) 0 28px; }
.alg-footer__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 4vw, 56px); border-radius: 36px; margin-bottom: 16px; overflow: hidden; }
.alg-footer__cta::after { content: ""; position: absolute; right: -10%; bottom: -60%; width: 50%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 60%); pointer-events: none; }
.alg-footer__cta h2 { font-size: clamp(28px, 3.6vw, 48px); margin: 10px 0 8px; }
.alg-footer__cta p { margin: 0; }
.alg-footer__cta-btns { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.alg-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 28px; padding: clamp(24px, 3.5vw, 44px); }
.alg-footer__brand img { height: 42px; width: auto; }
.alg-footer__brand p { font-size: 15px; color: var(--alg-muted); margin: 14px 0 18px; }
.alg-social { display: flex; gap: 8px; }
.alg-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .8); color: var(--alg-ink); transition: transform .3s var(--alg-spring), background-color .3s, color .3s; }
.alg-social a:hover { transform: translateY(-3px); background: var(--alg-accent); color: #fff; }
.alg-foot__title { margin: 4px 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--alg-ink); }
.alg-foot__list { list-style: none; margin: 0; padding: 0; }
.alg-foot__list a { display: inline-block; padding: 5px 0; font-size: 15px; color: var(--alg-ink-2); text-decoration: none; transition: color .2s; }
.alg-foot__list a:hover { color: var(--alg-accent); }
.alg-foot__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.alg-foot__contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.alg-foot__contact .alg-ic { flex: none; margin-top: 2px; color: var(--alg-accent); }
.alg-foot__contact a { text-decoration: none; }
.alg-foot__contact a:hover { color: var(--alg-accent); }
.alg-footer__copy { margin: 18px 0 0; text-align: center; font-size: 13px; color: var(--alg-muted); }

.alg-fab { position: fixed; z-index: 90; right: 20px; bottom: 22px; display: flex; flex-direction: column; gap: 10px; }
.alg-fab__btn { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #fff !important; box-shadow: 0 14px 30px -10px rgba(15, 23, 42, .45), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .35s var(--alg-spring); }
.alg-fab__btn:hover { transform: translateY(-3px) scale(1.06); }
.alg-fab__btn--wa { background: linear-gradient(135deg, #34e07a, #1fa855); }
.alg-fab__btn--call { background: linear-gradient(135deg, var(--alg-accent), var(--alg-accent-2)); }

.alg-dock { display: none; }

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.alg-js .alg-reveal { opacity: 0; translate: 0 26px; transition: opacity .8s var(--alg-ease), translate .8s var(--alg-ease); transition-delay: calc(var(--i, 0) * 70ms); }
.alg-js .alg-reveal.is-in { opacity: 1; translate: 0 0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
	.alg-nav { display: none; }
	.alg-burger { display: block; }
	.alg-header__bar { justify-content: space-between; }
	.alg-mega { display: none !important; }
	.alg-services { grid-template-columns: repeat(2, 1fr); }
	.alg-steps { grid-template-columns: repeat(2, 1fr); }
	.alg-steps__line { display: none; }
	.alg-footer__grid { grid-template-columns: 1fr 1fr; }
	.alg-rates { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
	:root { --alg-header-h: 68px; }
	.alg-hero { grid-template-columns: 1fr; min-height: 0; text-align: center; padding-top: 0; }
	.alg-hero__copy { order: 1; }
	.alg-hero__stage { order: 2; width: min(100%, 380px); margin: 0 auto; }
	.alg-float--a { left: 2%; }
	.alg-float--b { right: 2%; }
	.alg-lead { margin-inline: auto; }
	.alg-hero__btns, .alg-chips { justify-content: center; }
	.alg-devices { grid-template-columns: repeat(3, 1fr); }
	.alg-about { grid-template-columns: 1fr; }
	.alg-about__media { position: relative; top: 0; max-width: 520px; margin-inline: auto; }
	.alg-counters { grid-template-columns: repeat(2, 1fr); }
	.alg-why { grid-template-columns: repeat(2, 1fr); }
	.alg-visit { grid-template-columns: 1fr; }
	.alg-hide-sm { display: none !important; }
}
@media (max-width: 640px) {
	body.alg { font-size: 16px; }
	.alg-header { top: 8px; width: calc(100% - 16px); }
	.alg-header__bar { height: 58px; padding-left: 16px; padding-right: 7px; }
	.alg-brand img { height: 32px; }
	.alg-hide-xs { display: none !important; }
	.alg-devices { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.alg-devices .alg-device:last-child { grid-column: 1 / -1; }
	.alg-device { padding: 20px 10px 18px; }
	.alg-device__ico { width: 58px; height: 58px; border-radius: 18px; }
	.alg-services { grid-template-columns: 1fr 1fr; gap: 10px; }
	.alg-service { padding: 10px; border-radius: 22px; }
	.alg-service--big { grid-column: 1 / -1; }
	.alg-service__body strong { font-size: 16px; }
	.alg-service__body small { display: none; }
	.alg-service--big .alg-service__body small { display: block; }
	.alg-service__go { width: 30px; height: 30px; right: 10px; top: 10px; }
	.alg-pillars, .alg-why { grid-template-columns: 1fr; }
	.alg-steps { grid-template-columns: 1fr; }
	.alg-rings { grid-template-columns: repeat(2, 1fr); }
	.alg-footer__grid { grid-template-columns: 1fr; }
	.alg-float { padding: 9px 12px; font-size: 12px; border-radius: 16px; }
	.alg-float strong { font-size: 20px; }
	.alg-models__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.alg-model { min-height: 130px; padding: 16px; }
	.alg-model__name { font-size: 15px; }
	.alg-acc__body { padding-left: 12px; }
	.alg-fab { display: none; }
	.alg-footer { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
	/* App-style dock */
	.alg-dock { position: fixed; z-index: 95; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; height: 68px; padding: 0 6px; border-radius: 26px; }
	.alg-dock a, .alg-dock button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; font: inherit; font-size: 11px; font-weight: 600; color: var(--alg-ink-2); text-decoration: none; background: none; border: 0; -webkit-tap-highlight-color: transparent; }
	.alg-dock [aria-current="page"] { color: var(--alg-accent); }
	.alg-dock__main { position: relative; top: -16px; }
	.alg-dock__main .alg-ic { box-sizing: content-box; padding: 14px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #34e07a, #1fa855); box-shadow: 0 12px 24px -8px rgba(31, 168, 85, .7), 0 0 0 5px rgba(255, 255, 255, .9); }
	.alg-dock a:active, .alg-dock button:active { transform: scale(.94); }
	/* Elementor pages on phones: tighter glass */
	body.alg-glassify :is([data-elementor-type="wp-page"] > .elementor-section.elementor-top-section, [data-elementor-type="wp-page"] > .elementor-section-wrap > .elementor-section.elementor-top-section, [data-elementor-type="wp-page"] > .e-con.e-parent) { width: calc(100% - 16px) !important; border-radius: 22px !important; margin-bottom: 10px !important; }
}

/* Touch devices: no hover tilt */
@media (hover: none) {
	.alg-tilt { transform: none !important; }
}

/* Less motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.alg-js .alg-reveal { opacity: 1; translate: none; }
	.alg-marquee__track { animation: none; flex-wrap: wrap; width: auto; }
}

/* Print */
@media print {
	.alg-bg, .alg-header, .alg-fab, .alg-dock, .alg-drawer, .alg-footer__cta { display: none !important; }
	.alg-main { padding-top: 0; }
	.alg-glass { box-shadow: none; backdrop-filter: none; background: #fff; }
}

/* =========================================================
   v1.1 — PER-DEVICE MEGA NAV
   ========================================================= */
.alg-mega { grid-template-columns: 290px 1fr; gap: 14px; padding: 14px; }
.alg-nav__trigger.is-current { color: var(--alg-accent); }
.alg-nav__list > li > a, .alg-nav__trigger { white-space: nowrap; padding: 0 12px; }
.alg-nav__list { gap: 0; }
.alg-mega__feature { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px; border-radius: 22px; background: linear-gradient(160deg, #fff, rgba(255, 255, 255, .55)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04); }
.alg-mega__feature img { width: 120px; height: 120px; object-fit: contain; align-self: center; margin-bottom: 4px; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .14)); }
.alg-mega__feature strong { font-size: 22px; letter-spacing: -.02em; color: var(--alg-ink); }
.alg-mega__feature p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--alg-muted); }
.alg-mega__count { font-size: 12px; font-weight: 600; color: var(--alg-accent); background: color-mix(in srgb, var(--alg-accent) 10%, white); padding: 4px 10px; border-radius: 999px; }
.alg-mega__feature .alg-pill { margin-top: auto; }
.alg-mega__cols { align-content: start; overflow: auto; max-height: calc(100vh - 150px); padding: 10px 8px; }
.alg-mega__h { display: inline-flex; align-items: center; gap: 4px; }
.alg-mega__col a[aria-current="page"] { color: var(--alg-accent) !important; font-weight: 600; }

/* =========================================================
   INNER PAGE HERO
   ========================================================= */
.alg-sec--tight { padding-block: clamp(36px, 5vw, 64px) 0; }
.alg-phero { margin-bottom: 8px; }
.alg-phero__card { display: grid; grid-template-columns: 1fr; align-items: center; gap: 24px; padding: clamp(26px, 4.5vw, 60px); border-radius: 36px; overflow: hidden; }
.alg-phero--media .alg-phero__card { grid-template-columns: 1.2fr .8fr; }
.alg-phero__card::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 55%; aspect-ratio: 1; background: radial-gradient(circle, rgba(0, 113, 227, .10), transparent 62%); pointer-events: none; }
.alg-phero__title { margin: 14px 0 16px; font-size: clamp(34px, 5.2vw, 68px); font-weight: 750; letter-spacing: -.035em; line-height: 1.02; color: var(--alg-ink); }
.alg-phero--compact .alg-phero__title { font-size: clamp(30px, 4.4vw, 56px); }
.alg-phero__soft { color: var(--alg-muted); font-weight: 650; }
.alg-phero .alg-eyebrow .alg-ic { margin-right: 2px; }
.alg-phero__media { position: relative; aspect-ratio: 1; max-width: 420px; width: 100%; justify-self: center; perspective: 1000px; }
.alg-stage--sm .alg-stage__ring { inset: 4%; }
.alg-stage--sm .alg-stage__disc { inset: 14%; }
.alg-stage--sm .alg-stage__img { inset: 12%; width: 76%; height: 76%; }

/* Content wrapper for the original Elementor content */
.alg-pagecontent { padding-top: clamp(40px, 6vw, 80px); }
.alg-pagecontent .alg-sec-head { margin-bottom: 24px; }

/* =========================================================
   CATALOG (left filters + products)
   ========================================================= */
.alg-shop { display: grid; grid-template-columns: 290px 1fr; gap: 18px; align-items: start; margin-top: 18px; }
.alg-filters { position: sticky; top: calc(var(--alg-header-h) + 22px); display: flex; flex-direction: column; gap: 18px; padding: 20px; max-height: calc(100vh - var(--alg-header-h) - 40px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.alg-filters__head { display: flex; align-items: center; gap: 10px; }
.alg-filters__head strong { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; color: var(--alg-ink); margin-right: auto; }
.alg-filters__reset { border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--alg-accent); cursor: pointer; padding: 6px 4px; }
.alg-filters__close, .alg-filters__apply, .alg-toolbar__filters { display: none; }
.alg-search { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: 14px; background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07); color: var(--alg-muted); }
.alg-search:focus-within { box-shadow: inset 0 0 0 2px var(--alg-accent); }
.alg-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; color: var(--alg-ink); }
.alg-facet { margin: 0; padding: 0; border: 0; min-width: 0; }
.alg-facet legend { padding: 0; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--alg-muted); }
.alg-check { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin: 0 -10px; border-radius: 12px; cursor: pointer; font-size: 15px; color: var(--alg-ink-2); transition: background-color .2s; }
.alg-check:hover { background: rgba(255, 255, 255, .8); }
.alg-check input { position: absolute; opacity: 0; pointer-events: none; }
.alg-check__box { display: grid; place-items: center; width: 20px; height: 20px; flex: none; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .18); color: transparent; transition: background-color .2s, box-shadow .2s, color .2s; }
.alg-check input:checked + .alg-check__box { background: var(--alg-accent); box-shadow: none; color: #fff; }
.alg-check input:focus-visible + .alg-check__box { outline: 3px solid color-mix(in srgb, var(--alg-accent) 45%, transparent); outline-offset: 2px; }
.alg-check__ico { display: grid; place-items: center; color: var(--alg-muted); }
.alg-check__label { flex: 1; }
.alg-check__n { font-size: 12px; font-weight: 600; color: var(--alg-muted); background: rgba(0, 0, 0, .05); padding: 2px 8px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.alg-range { display: flex; align-items: center; gap: 8px; }
.alg-range select, .alg-select select { flex: 1; height: 42px; padding: 0 12px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07); font: inherit; font-size: 14px; color: var(--alg-ink); cursor: pointer; }
.alg-filters__help { padding: 18px; border-radius: 20px; }
.alg-filters__help strong { display: block; font-size: 15px; }
.alg-filters__help p { margin: 4px 0 12px; font-size: 13.5px; line-height: 1.5; }

.alg-results { min-width: 0; }
.alg-toolbar { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 20px; margin-bottom: 12px; }
.alg-toolbar__count { margin: 0 auto 0 0; font-size: 14px; color: var(--alg-muted); }
.alg-toolbar__count strong { color: var(--alg-ink); }
.alg-select { display: flex; align-items: center; gap: 6px; color: var(--alg-muted); }
.alg-select select { height: 40px; min-width: 150px; }
.alg-view { display: flex; padding: 3px; border-radius: 12px; background: rgba(0, 0, 0, .05); }
.alg-view button { display: grid; place-items: center; width: 36px; height: 34px; border: 0; border-radius: 9px; background: none; color: var(--alg-muted); cursor: pointer; }
.alg-view button[aria-pressed="true"] { background: #fff; color: var(--alg-ink); box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.alg-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; font-size: 12px; background: var(--alg-accent); color: #fff; }
.alg-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.alg-tags:empty { display: none; }
.alg-tag { padding: 7px 12px; border: 0; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 600; color: var(--alg-accent); background: color-mix(in srgb, var(--alg-accent) 10%, white); cursor: pointer; }
.alg-tag:hover { background: color-mix(in srgb, var(--alg-accent) 18%, white); }

.alg-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.alg-product { display: flex; flex-direction: column; padding: 10px; border-radius: 26px; }
.alg-product__media { position: relative; display: grid; place-items: center; aspect-ratio: 1.15; border-radius: 19px; background: radial-gradient(circle at 50% 35%, #fff, #ececf0 85%); overflow: hidden; transform: translateZ(26px); }
.alg-product__media img { width: 70%; height: 70%; object-fit: contain; filter: drop-shadow(0 16px 16px rgba(0, 0, 0, .14)); transition: transform .7s var(--alg-ease); }
.alg-product:hover .alg-product__media img { transform: scale(1.07) translateY(-4px); }
.alg-product__tag { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--alg-ink-2); background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.alg-product__body { display: flex; flex-direction: column; flex: 1; padding: 14px 8px 6px; transform: translateZ(16px); }
.alg-product__title { margin: 0; font-size: 17px; letter-spacing: -.01em; line-height: 1.25; }
.alg-product__title a { text-decoration: none; color: inherit; }
.alg-stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 26px; }
.alg-product__meta { margin: 4px 0 10px; font-size: 13px; color: var(--alg-muted); }
.alg-product__feats { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.alg-product__feats li { font-size: 12px; padding: 4px 9px; border-radius: 999px; background: rgba(0, 0, 0, .045); color: var(--alg-ink-2); }
.alg-product__actions { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.alg-product__cta { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--alg-accent); }
.alg-product__cta .alg-ic { transition: transform .3s var(--alg-ease); }
.alg-product:hover .alg-product__cta .alg-ic { transform: translateX(3px); }
.alg-product__wa { position: relative; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff !important; background: linear-gradient(135deg, #34e07a, #1fa855); box-shadow: 0 8px 16px -8px rgba(31, 168, 85, .8); transition: transform .3s var(--alg-spring); }
.alg-product__wa:hover { transform: scale(1.1); }
/* List view */
.alg-products.is-list { grid-template-columns: 1fr; }
.alg-products.is-list .alg-product { flex-direction: row; align-items: center; gap: 8px; }
.alg-products.is-list .alg-product__media { width: 120px; flex: none; aspect-ratio: 1; }
.alg-products.is-list .alg-product__body { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 16px; padding: 8px 12px; }
.alg-products.is-list .alg-product__title { flex: 1 1 200px; }
.alg-products.is-list .alg-product__meta { flex-basis: 100%; order: 2; margin: 2px 0 0; }
.alg-products.is-list .alg-product__feats { order: 3; margin: 8px 0 0; flex-basis: 100%; }
.alg-products.is-list .alg-product__actions { margin: 0; gap: 14px; }
.alg-products.is-list .alg-product__tag { display: none; }
.alg-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 40px 20px; text-align: center; color: var(--alg-muted); }
.alg-empty strong { color: var(--alg-ink); font-size: 18px; }
.alg-empty p { margin: 0 0 8px; }
.alg-filters__scrim { position: fixed; inset: 0; z-index: 96; background: rgba(0, 0, 0, .25); }

/* =========================================================
   MODEL PAGE
   ========================================================= */
.alg-repairs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.alg-repair { display: flex; flex-direction: column; gap: 6px; padding: 22px; min-height: 190px; text-decoration: none; color: var(--alg-ink); border-radius: 24px; }
.alg-repair__ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 15px; color: var(--alg-accent); background: linear-gradient(150deg, #fff, rgba(255, 255, 255, .5)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05), 0 8px 18px -12px rgba(0, 113, 227, .7); transform: translateZ(34px); }
.alg-repair strong { font-size: 17px; transform: translateZ(20px); }
.alg-repair small { font-size: 14px; line-height: 1.45; color: var(--alg-muted); }
.alg-repair__go { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 10px; font-size: 13.5px; font-weight: 600; color: var(--alg-accent); }

.alg-pmini { display: grid; grid-template-columns: .7fr 2fr; gap: 24px; align-items: center; padding: clamp(22px, 3.5vw, 40px); border-radius: 32px; }
.alg-pmini__head h2 { font-size: clamp(26px, 3vw, 38px); margin: 8px 0 0; }
.alg-pmini__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.alg-pmini__list li { display: flex; flex-direction: column; gap: 4px; }
.alg-pmini__list .alg-step__n { width: 38px; height: 38px; font-size: 15px; margin-bottom: 8px; box-shadow: 0 0 0 5px rgba(255, 255, 255, .8); }
.alg-pmini__list strong { font-size: 15px; color: var(--alg-ink); }
.alg-pmini__list small { font-size: 13px; line-height: 1.45; color: var(--alg-muted); }

.alg-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 280px); gap: 12px; overflow-x: auto; padding: 6px 2px 16px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.alg-rail__item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 20px; text-decoration: none; color: var(--alg-ink); scroll-snap-align: start; transition: transform .3s var(--alg-ease), background-color .3s; }
.alg-rail__item:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .9); }
.alg-rail__item img { width: 64px; height: 64px; object-fit: contain; border-radius: 14px; background: radial-gradient(circle, #fff, #ececf0); padding: 6px; }
.alg-rail__item strong { display: block; font-size: 15px; line-height: 1.25; }
.alg-rail__item small { font-size: 12.5px; color: var(--alg-muted); }
.alg-prevnext { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; margin-top: 8px; }
.alg-prevnext a { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; border-radius: 20px; text-decoration: none; color: var(--alg-ink); transition: background-color .3s; }
.alg-prevnext a:hover { background: rgba(255, 255, 255, .9); }
.alg-prevnext small { font-size: 12.5px; color: var(--alg-muted); }
.alg-prevnext__next { text-align: right; }
.alg-prevnext__all { flex-direction: row !important; align-items: center; gap: 8px !important; color: var(--alg-accent) !important; }

.alg-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.alg-trust__item { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 22px; }
.alg-trust__ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; color: var(--alg-accent); background: color-mix(in srgb, var(--alg-accent) 9%, white); }
.alg-trust__item strong { display: block; font-size: 15px; color: var(--alg-ink); }
.alg-trust__item small { font-size: 13px; color: var(--alg-muted); line-height: 1.4; }

/* =========================================================
   CONTACT
   ========================================================= */
.alg-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.alg-tile { display: flex; flex-direction: column; gap: 4px; padding: 24px; text-decoration: none; color: var(--alg-ink); border-radius: 24px; }
.alg-tile__ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 10px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--alg-accent), var(--alg-accent-2)); box-shadow: 0 12px 22px -12px var(--alg-accent); transform: translateZ(34px); }
.alg-tile strong { font-size: 18px; }
.alg-tile small { font-size: 14.5px; color: var(--alg-muted); line-height: 1.45; }
.alg-quote h2 { margin-bottom: 18px; }
.alg-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.alg-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.alg-field span { font-size: 13px; font-weight: 600; color: var(--alg-ink-2); }
.alg-field input, .alg-field select, .alg-field textarea { width: 100%; padding: 12px 14px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); font: inherit; font-size: 15px; color: var(--alg-ink); resize: vertical; transition: box-shadow .2s; }
.alg-field input:focus, .alg-field select:focus, .alg-field textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--alg-accent); }
.alg-quote__note { margin: 10px 0 0; font-size: 12.5px; color: var(--alg-muted); }

/* =========================================================
   v1.1 RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
	.alg-repairs { grid-template-columns: repeat(3, 1fr); }
	.alg-pmini { grid-template-columns: 1fr; }
	.alg-trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
	.alg-shop { grid-template-columns: 1fr; }
	.alg-toolbar__filters { display: inline-flex; }
	.alg-filters {
		position: fixed; z-index: 97; left: 8px; right: 8px; bottom: 8px; top: auto;
		max-height: 82vh; border-radius: 28px; padding: 18px 18px 14px;
		background: var(--alg-glass-strong);
		transform: translateY(110%); transition: transform .45s var(--alg-ease);
	}
	.alg-filters.is-open { transform: translateY(0); }
	.alg-filters__close { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .06); cursor: pointer; }
	.alg-filters__apply { display: inline-flex; position: sticky; bottom: 0; width: 100%; }
	.alg-filters__help { display: none; }
	.alg-phero--media .alg-phero__card { grid-template-columns: 1fr; }
	.alg-phero__media { max-width: 230px; order: -1; margin-bottom: -10px; }
	.alg-phero--compact .alg-phero__media { display: none; }
	.alg-pmini__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.alg-toolbar { flex-wrap: wrap; padding: 10px; }
	.alg-toolbar__count { order: 3; flex-basis: 100%; margin: 4px 4px 0; }
	.alg-select select { min-width: 0; }
	.alg-view { display: none; }
	.alg-products { grid-template-columns: 1fr 1fr; gap: 10px; }
	.alg-product { padding: 7px; border-radius: 22px; }
	.alg-product__body { padding: 10px 6px 4px; }
	.alg-product__title { font-size: 15px; }
	.alg-product__feats { display: none; }
	.alg-product__tag { display: none; }
	.alg-product__wa { width: 34px; height: 34px; }
	.alg-product__cta { font-size: 13px; }
	.alg-repairs { grid-template-columns: 1fr 1fr; gap: 10px; }
	.alg-repair { padding: 16px; min-height: 0; }
	.alg-repair small { display: none; }
	.alg-pmini__list { grid-template-columns: 1fr; }
	.alg-trust { grid-template-columns: 1fr; }
	.alg-prevnext { grid-template-columns: 1fr 1fr; }
	.alg-prevnext__all { grid-column: 1 / -1; order: 3; justify-content: center; }
	.alg-field-row { grid-template-columns: 1fr; }
	.alg-phero__card { border-radius: 28px; }
	.alg-phero__title { font-size: clamp(30px, 9vw, 40px); }
	.alg-filters { bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 98; }
}

/* Filter sheet sits above the dock and header on phones */
.alg-sheet-open .alg-dock, .alg-sheet-open .alg-header, .alg-sheet-open .alg-fab { visibility: hidden; }
.alg-sheet-open .alg-main { z-index: 100; }
.alg-filters > * { flex-shrink: 0; }

/* Old content emoji images (WordPress emoji styles are not loaded) */
.alg img.emoji, .alg img.wp-smiley { display: inline !important; width: 1em !important; height: 1em !important; margin: 0 .07em !important; vertical-align: -.1em !important; border: 0 !important; box-shadow: none !important; background: none !important; padding: 0 !important; border-radius: 0 !important; transform: none !important; }

/* =========================================================
   v1.2 — PARSED CONTENT SECTIONS
   ========================================================= */
.alg-pill--wa { color: #fff !important; background: linear-gradient(135deg, #34e07a, #1fa855); box-shadow: 0 10px 24px -10px rgba(31, 168, 85, .8), inset 0 1px 0 rgba(255, 255, 255, .35); }
.alg-pill--sm { min-height: 34px; padding: 6px 14px; font-size: 13.5px; }
.alg-repair__actions { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; position: relative; z-index: 2; }
.alg-repair__wa { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff !important; background: linear-gradient(135deg, #34e07a, #1fa855); transition: transform .3s var(--alg-spring); }
.alg-repair__wa:hover { transform: scale(1.1); }

.alg-jump { position: relative; z-index: 2; display: flex; gap: 6px; width: max-content; max-width: calc(100% - 2 * var(--alg-gutter)); margin: 18px auto 0; padding: 6px; overflow-x: auto; border-radius: 999px; background: var(--alg-glass-strong); border: 1px solid var(--alg-glass-line); box-shadow: var(--alg-shadow); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); scrollbar-width: none; }
.alg-header.is-hidden ~ .alg-main .alg-jump { top: 12px; }
.alg-jump a { flex: none; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--alg-ink-2); text-decoration: none; transition: background-color .2s, color .2s; }
.alg-jump a:hover { background: #fff; color: var(--alg-ink); }
.alg-jump a.is-cta { color: #fff; background: var(--alg-accent); }

.alg-svc { display: grid; grid-template-columns: .8fr 1.6fr; gap: 28px; padding: clamp(22px, 3.5vw, 44px); border-radius: 32px; }
.alg-svc__head h2 { font-size: clamp(26px, 3vw, 40px); margin: 8px 0 10px; }
.alg-svc__head p { margin: 0 0 18px; color: var(--alg-muted); }
.alg-svc__list { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; }
.alg-svc__item { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 10px; border-radius: 999px; background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); font-size: 14.5px; font-weight: 500; color: var(--alg-ink); text-decoration: none; transition: transform .25s var(--alg-ease), box-shadow .25s, color .25s; }
.alg-svc__item span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--alg-accent); background: color-mix(in srgb, var(--alg-accent) 10%, white); }
.alg-svc__item:hover { transform: translateY(-2px); color: var(--alg-accent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--alg-accent) 40%, transparent), 0 10px 20px -12px rgba(0, 0, 0, .3); }

.alg-specs { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(20px, 4vw, 48px); padding: clamp(22px, 3.5vw, 48px); border-radius: 32px; }
.alg-specs__img { display: grid; place-items: center; aspect-ratio: 1.3; margin-bottom: 18px; border-radius: 24px; background: radial-gradient(circle at 50% 35%, #fff, #ececf0 80%); }
.alg-specs__img img { width: 62%; height: 80%; object-fit: contain; filter: drop-shadow(0 20px 24px rgba(0, 0, 0, .16)); }
.alg-specs__side h2 { font-size: clamp(24px, 2.6vw, 34px); margin: 0 0 10px; }
.alg-specs__intro { color: var(--alg-ink-2); }
.alg-specs__intro p { margin: 0 0 10px; }
.alg-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0 0; }
.alg-facts div { padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05); }
.alg-facts dt { font-size: 12px; color: var(--alg-muted); text-transform: uppercase; letter-spacing: .06em; }
.alg-facts dd { margin: 2px 0 0; font-weight: 600; color: var(--alg-ink); }
.alg-specs__body h3 { font-size: 20px; margin: 0 0 12px; }

.alg-richtext { font-size: 15.5px; line-height: 1.7; color: var(--alg-ink-2); }
.alg-richtext > :first-child { margin-top: 0; }
.alg-richtext p { margin: 0 0 12px; }
.alg-richtext h3, .alg-richtext h4, .alg-richtext h5 { margin: 18px 0 8px; font-size: 16px; letter-spacing: -.01em; color: var(--alg-ink); }
.alg-richtext ul, .alg-richtext ol { margin: 0 0 14px; padding-left: 20px; }
.alg-richtext li { margin: 4px 0; }
.alg-richtext a { color: var(--alg-accent); }
.alg-richtext--spec { columns: 2 260px; column-gap: 32px; }
.alg-richtext--spec h4 { break-after: avoid; margin-top: 0; padding-top: 14px; }
.alg-richtext--spec ul { break-inside: avoid-column; }
.alg-bullets { list-style: none; padding: 0 !important; }
.alg-bullets li { position: relative; padding-left: 18px; }
.alg-bullets li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--alg-accent); }

.alg-cards3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.alg-card3 { display: flex; flex-direction: column; padding: 16px; border-radius: 26px; }
.alg-card3__img { display: grid; place-items: center; aspect-ratio: 1.5; margin-bottom: 14px; border-radius: 18px; background: radial-gradient(circle, #fff, #ececf0); overflow: hidden; }
.alg-card3__img img { width: 70%; height: 85%; object-fit: contain; }
.alg-card3 h3 { margin: 0 0 6px; font-size: 18px; }
.alg-card3 p { margin: 0 0 12px; font-size: 14.5px; color: var(--alg-muted); line-height: 1.55; }
.alg-card3__go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 14px; font-weight: 600; color: var(--alg-accent); text-decoration: none; }

.alg-acc-list { display: grid; gap: 10px; max-width: 920px; margin: 0 auto; }
.alg-info { border-radius: 22px; padding: 0; overflow: hidden; }
.alg-info summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; font-size: 17px; font-weight: 650; color: var(--alg-ink); cursor: pointer; list-style: none; }
.alg-info summary::-webkit-details-marker { display: none; }
.alg-info summary .alg-ic { flex: none; transition: transform .3s var(--alg-ease); color: var(--alg-muted); }
.alg-info[open] summary .alg-ic { transform: rotate(180deg); }
.alg-info .alg-richtext { padding: 0 22px 20px; }

.alg-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 340px); gap: 12px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.alg-gallery__item { margin: 0; padding: 8px; border-radius: 24px; scroll-snap-align: start; }
.alg-gallery__item img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }

.alg-product__book { position: relative; z-index: 2; margin-left: auto; margin-right: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--alg-accent); background: color-mix(in srgb, var(--alg-accent) 10%, white); text-decoration: none; }
.alg-product__book:hover { background: var(--alg-accent); color: #fff; }

/* =========================================================
   v1.2 — BOOKING APP
   ========================================================= */
.alg-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.alg-bk-hero { grid-template-columns: 1fr !important; gap: 22px; padding-bottom: 28px; }
.alg-bk-steps { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.alg-bk-steps li { display: flex; align-items: center; gap: 8px; flex: 1; min-width: max-content; padding: 10px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--alg-muted); background: rgba(255, 255, 255, .55); cursor: pointer; transition: background-color .3s, color .3s; }
.alg-bk-steps li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 13px; background: rgba(0, 0, 0, .06); transition: background-color .3s, color .3s; }
.alg-bk-steps li.is-active { color: var(--alg-ink); background: #fff; box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .3); }
.alg-bk-steps li.is-active span, .alg-bk-steps li.is-done span { background: var(--alg-accent); color: #fff; }
.alg-bk-steps li.is-done { color: var(--alg-ink-2); }
.alg-bk-progress { height: 4px; border-radius: 4px; background: rgba(0, 0, 0, .06); overflow: hidden; }
.alg-bk-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--alg-accent), var(--alg-accent-2)); transition: width .5s var(--alg-ease); }

.alg-bk { display: grid; grid-template-columns: 1fr 320px; gap: 16px; align-items: start; margin-top: 16px; }
.alg-bk__main { padding: clamp(18px, 3vw, 34px); border-radius: 32px; min-width: 0; }
.alg-bk__step h2 { font-size: clamp(24px, 2.8vw, 34px); margin: 0 0 18px; }
.alg-bk__step:not([hidden]) { animation: alg-fade .4s var(--alg-ease); }
.alg-bk-sub { margin: -8px 0 16px; color: var(--alg-muted); }
.alg-bk-tick { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; background: var(--alg-accent); opacity: 0; transform: scale(.6); transition: opacity .25s, transform .3s var(--alg-spring); }
.is-on > .alg-bk-tick { opacity: 1; transform: scale(1); }
.alg-bk-tick .alg-ic { width: 14px; height: 14px; }

.alg-bk-devices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.alg-bk-device { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px 12px; border: 0; border-radius: 22px; background: rgba(255, 255, 255, .75); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); font: inherit; color: var(--alg-ink); cursor: pointer; transition: transform .3s var(--alg-ease), box-shadow .3s; }
.alg-bk-device:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), 0 16px 30px -18px rgba(0, 0, 0, .35); }
.alg-bk-device.is-on, .alg-bk-model.is-on, .alg-bk-rep.is-on { box-shadow: inset 0 0 0 2px var(--alg-accent), 0 14px 26px -18px var(--alg-accent); background: #fff; }
.alg-bk-device__img { display: grid; place-items: center; width: 100px; height: 100px; margin-bottom: 8px; color: var(--alg-accent); }
.alg-bk-device__img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .14)); }
.alg-bk-device__img .alg-ic { width: 46px; height: 46px; }
.alg-bk-device strong { font-size: 16px; }
.alg-bk-device small { font-size: 13px; color: var(--alg-muted); }

.alg-bk-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.alg-bk-tools .alg-search { flex: 1 1 260px; }
.alg-bk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.alg-bk-chips:empty { display: none; }
.alg-bk-chips button { padding: 9px 14px; border: 0; border-radius: 999px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--alg-ink-2); background: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07); cursor: pointer; }
.alg-bk-chips button.is-on { color: #fff; background: var(--alg-ink); box-shadow: none; }

.alg-bk-models { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; max-height: 520px; overflow: auto; padding: 4px; margin: 0 -4px 14px; scrollbar-width: thin; }
.alg-bk-model { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 40px 10px 10px; border: 0; border-radius: 18px; text-align: left; background: rgba(255, 255, 255, .75); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); font: inherit; color: var(--alg-ink); cursor: pointer; transition: transform .25s var(--alg-ease); }
.alg-bk-model:hover { transform: translateY(-2px); }
.alg-bk-model img { width: 56px; height: 56px; flex: none; object-fit: contain; border-radius: 12px; background: radial-gradient(circle, #fff, #ececf0); padding: 4px; }
.alg-bk-model strong { display: block; font-size: 14.5px; line-height: 1.3; }
.alg-bk-model small { font-size: 12.5px; color: var(--alg-muted); }
.alg-bk-model .alg-bk-tick { top: 50%; margin-top: -12px; }

.alg-bk-group { margin-bottom: 18px; }
.alg-bk-group h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 15px; letter-spacing: .02em; color: var(--alg-ink); }
.alg-bk-group h3 small { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .06); color: var(--alg-muted); }
.alg-bk-repairs { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.alg-bk-rep { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 38px 12px 12px; border: 0; border-radius: 16px; text-align: left; background: rgba(255, 255, 255, .75); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); font: inherit; font-size: 14.5px; font-weight: 500; color: var(--alg-ink); cursor: pointer; transition: transform .2s var(--alg-ease); }
.alg-bk-rep:active { transform: scale(.97); }
.alg-bk-rep__ico { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 11px; color: var(--alg-accent); background: color-mix(in srgb, var(--alg-accent) 10%, white); }
.alg-bk-rep .alg-bk-tick { top: 50%; margin-top: -12px; }
.alg-bk-loading { display: flex; align-items: center; gap: 12px; padding: 24px; color: var(--alg-muted); }
.alg-bk-loading span { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(0, 0, 0, .1); border-top-color: var(--alg-accent); animation: alg-spin .8s linear infinite; }

.alg-bk-quality, .alg-bk-visit { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; margin: 6px 0 16px; padding: 0; border: 0; }
.alg-bk-quality legend { margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--alg-ink-2); }
.alg-radio-card { position: relative; cursor: pointer; }
.alg-radio-card input { position: absolute; opacity: 0; }
.alg-radio-card > span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .75); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07); transition: box-shadow .2s, background-color .2s; }
.alg-radio-card > span .alg-ic { color: var(--alg-accent); margin-bottom: 4px; }
.alg-radio-card strong { font-size: 15px; color: var(--alg-ink); }
.alg-radio-card small { font-size: 13px; color: var(--alg-muted); }
.alg-radio-card input:checked + span { background: #fff; box-shadow: inset 0 0 0 2px var(--alg-accent); }
.alg-radio-card input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--alg-accent) 45%, transparent); outline-offset: 2px; }

.alg-bk-dates { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin-bottom: 8px; scrollbar-width: thin; }
.alg-bk-dates button { display: flex; flex-direction: column; align-items: center; flex: none; width: 70px; padding: 10px 0; border: 0; border-radius: 18px; background: rgba(255, 255, 255, .75); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07); font: inherit; color: var(--alg-ink-2); cursor: pointer; }
.alg-bk-dates strong { font-size: 22px; line-height: 1.2; color: var(--alg-ink); }
.alg-bk-dates small { font-size: 12px; }
.alg-bk-dates button.is-on, .alg-bk-slots button.is-on { background: var(--alg-accent); box-shadow: none; color: #fff; }
.alg-bk-dates button.is-on strong { color: #fff; }
.alg-bk-slots { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.alg-bk-slots button { padding: 10px 16px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .75); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .07); font: inherit; font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--alg-ink); cursor: pointer; }
.alg-bk-slots button:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

.alg-bk-review dl { margin: 0; display: grid; gap: 6px; }
.alg-bk-review dl > div { display: grid; grid-template-columns: 120px 1fr auto; gap: 12px; align-items: baseline; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .7); }
.alg-bk-review dt { font-size: 13px; color: var(--alg-muted); }
.alg-bk-review dd { margin: 0; font-weight: 600; color: var(--alg-ink); }
.alg-bk-review button { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--alg-accent); cursor: pointer; }
.alg-bk-note { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 14px 16px; border-radius: 16px; font-size: 14px; color: var(--alg-ink-2); background: color-mix(in srgb, var(--alg-accent) 7%, white); }
.alg-bk-note .alg-ic { flex: none; color: var(--alg-accent); }

.alg-bk-error { margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; font-size: 14.5px; font-weight: 600; color: #b42318; background: #fff1f0; }
.alg-bk__nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(0, 0, 0, .06); }
.alg-bk__nav [data-bk-next], .alg-bk__nav [data-bk-submit] { margin-left: auto; }
.is-busy { opacity: .7; pointer-events: none; }

.alg-bk-done { text-align: center; padding: 20px 0; }
.alg-bk-done__tick { display: grid; place-items: center; width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #34e07a, #1fa855); box-shadow: 0 20px 40px -16px rgba(31, 168, 85, .8); animation: alg-pop .6s var(--alg-spring); }
.alg-bk-done p { max-width: 520px; margin: 0 auto; color: var(--alg-ink-2); }
.alg-bk-done .alg-hero__btns { justify-content: center; }

.alg-bk__summary { position: sticky; top: calc(var(--alg-header-h) + 22px); padding: 18px; border-radius: 28px; }
.alg-bk-sum__media { display: grid; place-items: center; aspect-ratio: 1.4; border-radius: 20px; background: radial-gradient(circle at 50% 35%, #fff, #ececf0 85%); }
.alg-bk-sum__media img { width: 55%; height: 80%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .15)); transition: opacity .3s; }
.alg-bk__summary h3 { margin: 14px 0 10px; font-size: 19px; }
.alg-bk-sum__list { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0; font-size: 14px; }
.alg-bk-sum__list dt { color: var(--alg-muted); }
.alg-bk-sum__list dd { margin: 0; font-weight: 600; color: var(--alg-ink); text-align: right; word-break: break-word; }
.alg-bk-sum__help { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(0, 0, 0, .06); font-size: 14px; }
.alg-bk-sum__help strong { flex-basis: 100%; color: var(--alg-ink); }
.alg-bk-sum__help a { display: inline-flex; align-items: center; gap: 6px; color: var(--alg-accent); text-decoration: none; font-weight: 600; }

/* =========================================================
   v1.2 RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
	.alg-bk { grid-template-columns: 1fr; }
	.alg-bk__summary { position: relative; top: 0; order: -1; display: grid; grid-template-columns: 90px 1fr; gap: 0 14px; align-items: center; padding: 12px; }
	.alg-bk-sum__media { aspect-ratio: 1; grid-row: span 2; }
	.alg-bk__summary h3 { margin: 0; font-size: 16px; }
	.alg-bk-sum__list { grid-column: 2; font-size: 13px; max-height: 3.2em; overflow: hidden; }
	.alg-bk-sum__help { display: none; }
	.alg-svc, .alg-specs { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.alg-bk-devices { grid-template-columns: 1fr 1fr; gap: 8px; }
	.alg-bk-device__img { width: 76px; height: 76px; }
	.alg-bk-models { grid-template-columns: 1fr; max-height: none; }
	.alg-bk-repairs { grid-template-columns: 1fr 1fr; }
	.alg-bk-rep { font-size: 13.5px; padding: 10px 30px 10px 10px; }
	.alg-bk-rep__ico { width: 30px; height: 30px; }
	.alg-bk-steps li { padding: 8px 10px; font-size: 13px; }
	.alg-bk-review dl > div { grid-template-columns: 1fr auto; }
	.alg-bk-review dd { grid-column: 1; }
	.alg-bk__nav { position: sticky; bottom: calc(88px + env(safe-area-inset-bottom)); z-index: 5; margin: 18px -18px -18px; padding: 12px 18px; border-radius: 0 0 32px 32px; background: var(--alg-glass-strong); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
	.alg-repair__actions .alg-pill--sm { padding: 6px 12px; }
	.alg-facts { grid-template-columns: 1fr 1fr; }
	.alg-richtext--spec { columns: 1; }
	.alg-svc__item { font-size: 13.5px; }
	.alg-gallery { grid-auto-columns: 78%; }
	.alg-product__book { display: none; }
}
