/*
Theme Name: ISMORP
Theme URI: https://www.fiverr.com/ismorp
Author: ISMORP
Author URI: https://www.fiverr.com/ismorp
Description: Custom light theme for the ISMORP digital product studio. On activation it creates the Home, Services, Work, About and Contact pages, the menu, 10 service pages, projects and reviews. Edit text in Appearance > Customize > ISMORP Page Text; edit services, projects and reviews from their own WP Admin menus. Enquiries are saved under WP Admin > Enquiries and emailed. See SETUP-GUIDE.txt.
Version: 15.0.0
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ismorp
*/

/* ==========================================================================
   Tokens — ISMORP brand: indigo-violet to purple, on soft lavender white
   ========================================================================== */
:root {
	--bg: #FBFAFF;
	--white: #FFFFFF;
	--lav: #F4F1FF;
	--lav-2: #EAE4FF;
	--lav-3: #DCD2FF;
	--ink: #15112E;
	--text: #3A3656;
	--muted: #6C6888;
	--line: #ECE8F8;
	--p1: #5B4CF6;
	--p2: #A020F0;
	--p-mid: #7B35F3;
	--grad: linear-gradient(100deg, #5B4CF6 0%, #7B35F3 55%, #A020F0 100%);
	--grad-deep: linear-gradient(120deg, #241067 0%, #3D16A6 45%, #6420D8 100%);

	--shadow-sm: 0 1px 2px rgba(40, 20, 110, .04), 0 6px 18px -10px rgba(60, 30, 160, .14);
	--shadow: 0 2px 6px rgba(40, 20, 110, .04), 0 22px 44px -24px rgba(60, 30, 160, .28);
	--shadow-lg: 0 4px 10px rgba(40, 20, 110, .05), 0 40px 80px -40px rgba(70, 30, 180, .42);

	--font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wrap: 1200px;
	--side: clamp(20px, 4vw, 40px);
	--r-sm: 10px;
	--r: 16px;
	--r-lg: 24px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 80px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
	margin: 0; background: var(--bg); color: var(--text);
	font-family: var(--font); font-size: 16.5px; line-height: 1.65;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
::selection { background: var(--lav-3); color: var(--ink); }
:focus-visible { outline: 2px solid var(--p1); outline-offset: 3px; border-radius: 6px; }
.icon { width: 22px; height: 22px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 99; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }

.wrap { position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--side); }
.wrap--narrow { max-width: 860px; }

.tag {
	display: inline-flex; align-items: center; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px;
	background: var(--lav-2); color: var(--p-mid); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}

/* Buttons */
.btn {
	--bh: 52px;
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	height: var(--bh); padding: 0 24px; border-radius: 12px; border: 1.5px solid transparent;
	font: 700 .97rem/1 var(--font); cursor: pointer; white-space: nowrap; overflow: hidden; isolation: isolate;
	transition: transform .25s var(--ease), box-shadow .3s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn .icon { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--sm { --bh: 44px; padding: 0 18px; font-size: .9rem; border-radius: 11px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 12px 26px -12px rgba(91, 76, 246, .8); }
.btn--primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); z-index: -1; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(123, 53, 243, .85); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--outline { background: var(--white); color: var(--ink); border-color: var(--lav-3); }
.btn--outline:hover { border-color: var(--p1); color: var(--p1); transform: translateY(-2px); }
.btn--outline .icon:first-child { color: var(--p1); }
.btn--white { background: #fff; color: var(--p-mid); box-shadow: 0 12px 30px -12px rgba(0,0,0,.4); }
.btn--white:hover { transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--p1); font-weight: 700; }
.text-link .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 50; transition: background-color .3s, box-shadow .3s; }
.site-header.is-scrolled { background: rgba(251, 250, 255, .86); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); box-shadow: 0 1px 0 var(--line); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { width: 168px; height: auto; }
.custom-logo { max-height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: space-between; margin-left: 48px; }
.nav__list { display: flex; gap: 4px; }
.nav__list > li { position: relative; }
.nav__list > li > a { display: flex; align-items: center; gap: 5px; padding: 9px 15px; border-radius: 10px; font-size: .94rem; font-weight: 600; color: var(--ink); transition: background-color .2s, color .2s; }
.nav__list > li > a:hover { color: var(--p1); }
.nav__list .current-menu-item > a, .nav__list .current_page_item > a { background: var(--lav-2); color: var(--p-mid); }
.nav__list > li:has(.mega) > a::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); margin-left: 3px; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--lav-3); border-radius: 12px; background: #fff; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-open .nav-toggle span:nth-child(1) { top: 20.5px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { top: 20.5px; transform: rotate(-45deg); }

/* Services dropdown */
.mega { position: absolute; top: 100%; left: -20px; padding-top: 12px; width: 640px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; z-index: 60; }
.nav__list > li:hover > .mega, .nav__list > li:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: var(--shadow-lg); }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav__list .mega__item { display: flex; gap: 12px; align-items: flex-start; padding: 11px; border-radius: 12px; transition: background-color .2s; }
.nav__list .mega__item:hover { background: var(--lav); }
.mega__icon { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--lav); color: var(--p1); display: grid; place-items: center; transition: background .2s, color .2s; }
.mega__item:hover .mega__icon { background: var(--grad); color: #fff; }
.mega__icon .icon { width: 19px; height: 19px; }
.mega__title { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); line-height: 1.3; }
.mega__text { display: block; font-size: .78rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.nav__list .mega__all { display: block; margin-top: 6px; padding: 11px; border-radius: 12px; background: var(--lav); color: var(--p-mid); font-weight: 700; font-size: .88rem; text-align: center; }

/* ==========================================================================
   Backgrounds
   ========================================================================== */
.glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.glow::before, .glow::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); }
.glow::before { width: 620px; height: 520px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(160, 32, 240, .22), transparent 65%); }
.glow::after { width: 520px; height: 440px; left: -200px; top: 120px; background: radial-gradient(circle, rgba(91, 76, 246, .14), transparent 65%); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + clamp(32px, 5vw, 72px)) 0 clamp(70px, 8vw, 120px); overflow: hidden; }
.hero__wave { position: absolute; left: -5%; right: -5%; bottom: 0; height: 240px; pointer-events: none; z-index: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 240' preserveAspectRatio='none'%3E%3Cpath d='M0 150 C 240 70 480 210 760 150 S 1220 60 1440 120 L1440 240 L0 240Z' fill='%23EFEAFF'/%3E%3Cpath d='M0 190 C 300 130 560 230 860 180 S 1260 140 1440 170 L1440 240 L0 240Z' fill='%23FBFAFF'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero__title { font-size: clamp(2.4rem, 4.6vw, 3.85rem); line-height: 1.06; letter-spacing: -0.035em; margin-bottom: 22px; }
.hero__title em { display: inline; }
.hero__lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text); max-width: 32em; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__actions--center { justify-content: center; }
.hero__trust { display: flex; align-items: center; gap: 10px; margin: 28px 0 0; font-size: .92rem; color: var(--muted); }
.hero__trust strong { color: var(--ink); }
.stars { color: #F6B21B; letter-spacing: 2px; }

/* Device mockups */
.devices { position: relative; padding: 10px 0 70px 70px; }
.mac { position: relative; transform: perspective(1600px) rotateY(-12deg) rotateX(4deg); transform-origin: left center; transition: transform .6s var(--ease); }
.mac__screen { position: relative; border-radius: 16px 16px 6px 6px; padding: 12px; background: linear-gradient(160deg, #2A2540, #15122A); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.08); }
.mac__base { height: 16px; margin: 0 -6%; border-radius: 0 0 22px 22px; background: linear-gradient(180deg, #E7E3F5, #C9C2E4); box-shadow: 0 30px 40px -24px rgba(50, 20, 140, .55); }
.mac__base::before { content: ""; display: block; width: 18%; height: 6px; margin: 0 auto; border-radius: 0 0 8px 8px; background: #B9B0DA; }
.dash { display: grid; grid-template-columns: 26% 1fr; min-height: 300px; border-radius: 8px; overflow: hidden; background: #FCFBFF; font-size: 11px; color: var(--muted); }
.dash__side { display: flex; flex-direction: column; gap: 4px; padding: 14px 10px; background: #F6F3FF; border-right: 1px solid var(--line); }
.dash__logo { width: 74px; margin: 0 0 12px 4px; }
.dash__side span { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 7px; font-weight: 600; }
.dash__side .icon { width: 13px; height: 13px; }
.dash__side .is-active { background: var(--lav-2); color: var(--p-mid); }
.dash__main { padding: 14px 16px; }
.dash__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.dash__top b { color: var(--ink); font-size: 13px; }
.dash__top i { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #C9BCFF, #8B5CF6); }
.dash__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.dash__stats div { padding: 9px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.dash__stats small { display: block; font-size: 9.5px; }
.dash__stats b { display: block; color: var(--ink); font-size: 16px; letter-spacing: -0.02em; }
.dash__chart { height: 120px; padding: 8px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.dash__chart svg { width: 100%; height: 100%; }
.dash__line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: drawline 2.2s .6s var(--ease) forwards; }
@keyframes drawline { to { stroke-dashoffset: 0; } }

.phone { position: absolute; left: 0; bottom: 0; width: 27%; max-width: 168px; padding: 7px; border-radius: 30px; background: linear-gradient(160deg, #2A2540, #15122A); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.1); transform: rotate(-6deg); }
.phone__screen { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; padding: 28px 10px 12px; border-radius: 24px; background: linear-gradient(180deg, #fff, #F3EEFF); min-height: 300px; font-size: 9.5px; color: var(--muted); }
.phone__notch { position: absolute; top: 8px; left: 50%; width: 56px; height: 15px; margin-left: -28px; border-radius: 10px; background: #15122A; }
.phone__icon { width: 58px; margin: 14px 0 6px; filter: drop-shadow(0 10px 14px rgba(123, 53, 243, .35)); animation: bob 5s ease-in-out infinite; }
.phone__screen b { color: var(--ink); font-size: 14px; }
.phone__msg, .phone__reply { align-self: stretch; display: flex; margin-top: 4px; }
.phone__msg { justify-content: flex-end; }
.phone__msg span { padding: 6px 9px; border-radius: 10px 10px 2px 10px; background: var(--grad); color: #fff; font-size: 9.5px; text-align: left; }
.phone__reply span { padding: 6px 9px; border-radius: 10px 10px 10px 2px; background: #fff; border: 1px solid var(--line); font-size: 9.5px; text-align: left; }
.phone__input { margin-top: auto; align-self: stretch; display: flex; align-items: center; justify-content: space-between; padding: 6px 6px 6px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 9.5px; }
.phone__input i { width: 20px; height: 20px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; }
.phone__input .icon { width: 11px; height: 11px; }
@keyframes bob { 50% { transform: translateY(-6px); } }

/* Strip */
.strip { position: relative; z-index: 1; padding: 0; margin-top: -24px; }
.strip__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 26px; font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.strip__inner::before, .strip__inner::after { content: ""; flex: 1 1 60px; max-width: 120px; height: 1px; background: linear-gradient(90deg, transparent, var(--lav-3)); }
.strip__inner::after { background: linear-gradient(90deg, var(--lav-3), transparent); }
.strip__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--p1); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { position: relative; padding: clamp(72px, 8vw, 112px) 0; }
.section--first { padding-top: clamp(24px, 3vw, 40px); }
.section--tint { background: linear-gradient(180deg, #F6F3FF, #FBFAFF); }

.sec-head { display: flex; gap: 24px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.sec-head--center { justify-content: center; text-align: center; }
.sec-head--center .sec-head__text { max-width: 720px; margin: 0 auto; }
.sec-head--left { align-items: flex-end; justify-content: space-between; }
.sec-head__title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -0.03em; }
.sec-head__sub { color: var(--muted); font-size: 1.05rem; margin: 14px 0 0; }

/* Service cards */
.svc-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.svc-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; overflow: hidden; }
.svc-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(91,76,246,.06), rgba(160,32,240,.04)); opacity: 0; transition: opacity .35s; pointer-events: none; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--lav-3); }
.svc-card:hover::before { opacity: 1; }
.svc-card__icon { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; color: var(--p1); background: var(--lav); transition: background .35s, color .35s, transform .45s var(--ease); }
.svc-card__icon .icon { width: 26px; height: 26px; }
.svc-card:hover .svc-card__icon { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.05); }
.svc-card__title { margin-top: 6px; font-size: 1.05rem; font-weight: 800; color: var(--ink); line-height: 1.25; letter-spacing: -0.015em; }
.svc-card__text { font-size: .86rem; color: var(--muted); line-height: 1.5; flex: 1; }
.svc-card__go { align-self: flex-end; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--lav); color: var(--p-mid); transition: background .3s, color .3s, transform .3s var(--ease); }
.svc-card__go .icon { width: 15px; height: 15px; }
.svc-card:hover .svc-card__go { background: var(--grad); color: #fff; transform: translateX(3px); }
.svc-cards--detailed { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-cards--detailed .svc-card { padding: 28px 26px 24px; }
.svc-cards--detailed .svc-card__title { font-size: 1.2rem; }
.svc-cards--detailed .svc-card__text { font-size: .93rem; }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project { display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project__media { position: relative; aspect-ratio: 16 / 10.5; display: grid; place-items: center; overflow: hidden; }
.project__media--lav { background: radial-gradient(120% 100% at 50% 0%, #F3EEFF, #E1D7FF); }
.project__media--peach { background: radial-gradient(120% 100% at 50% 0%, #FFF4EE, #F4E3F4); }
.project__media--sky { background: radial-gradient(120% 100% at 50% 0%, #EEF2FF, #DCDFFF); }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project:hover .project__media img { transform: scale(1.04); }
.laptop { width: 70%; margin-top: 6%; transition: transform .6s var(--ease); }
.project:hover .laptop { transform: translateY(-4px) scale(1.03); }
.laptop__screen { padding: 6px; border-radius: 10px 10px 3px 3px; background: linear-gradient(160deg, #2A2540, #15122A); box-shadow: 0 24px 40px -20px rgba(50, 20, 140, .6); }
.laptop__screen svg { width: 100%; height: auto; border-radius: 4px; background: #F7F5FF; }
.laptop__base { height: 9px; margin: 0 -7%; border-radius: 0 0 12px 12px; background: linear-gradient(180deg, #E7E3F5, #C9C2E4); }
.project__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.project__sector { font-size: .78rem; font-weight: 700; color: var(--p-mid); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.project__title { font-size: 1.2rem; margin-bottom: 8px; }
.project__summary { color: var(--muted); font-size: .93rem; margin: 0; }
.project .ticks { margin-top: 16px; }
.project__outcome { margin: 14px 0 0; padding: 11px 14px; border-radius: 12px; background: var(--lav); color: var(--ink); font-size: .9rem; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chips li { padding: 5px 11px; border-radius: 999px; background: var(--lav); color: var(--p-mid); font-size: .76rem; font-weight: 600; }

.ticks li { position: relative; padding-left: 28px; margin-bottom: 9px; font-size: .93rem; color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(.2em + 4.5px); width: 4px; height: 7px; border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 34px; left: calc(50% + 52px); right: calc(-50% + 52px - 28px); height: 2px; background: repeating-linear-gradient(90deg, var(--lav-3) 0 6px, transparent 6px 12px); }
.step__icon { position: relative; z-index: 1; width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--lav-2); color: var(--p-mid); box-shadow: 0 0 0 8px var(--lav); transition: transform .45s var(--ease), background .3s, color .3s; }
.step__icon .icon { width: 30px; height: 30px; }
.step:hover .step__icon { transform: translateY(-4px); background: var(--grad); color: #fff; }
.step__title { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .92rem; margin: 0 auto; max-width: 24ch; }

/* Why */
.why { padding-top: 0; }
.why__row { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.why__item { display: flex; gap: 16px; padding: 30px 28px; }
.why__item + .why__item { border-left: 1px solid var(--line); }
.why__icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--lav); color: var(--p1); }
.why__icon .icon { width: 26px; height: 26px; }
.why__item h3 { font-size: 1.08rem; margin-bottom: 4px; }
.why__item p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Reviews */
.reviews { background: linear-gradient(180deg, #FBFAFF, #F6F3FF); }
.reviews__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.review { display: flex; flex-direction: column; margin: 0; padding: 26px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review__stars { color: #F6B21B; letter-spacing: 2px; margin-bottom: 14px; }
.review blockquote { margin: 0 0 22px; color: var(--ink); font-size: 1.02rem; font-weight: 600; line-height: 1.5; }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.review__avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; }
.review strong { display: block; color: var(--ink); font-size: .9rem; }
.review small { display: block; color: var(--muted); font-size: .8rem; }
.reviews__more { text-align: center; margin: 32px 0 0; }

/* CTA banner + expandable form */
.cta { padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 8vw, 110px); }
.cta__banner { position: relative; display: grid; grid-template-columns: 1.3fr 0.7fr; align-items: center; gap: 20px; min-height: 260px; padding: clamp(32px, 4.5vw, 56px); border-radius: 28px; color: #fff; background: var(--grad-deep); overflow: hidden; isolation: isolate; box-shadow: 0 40px 80px -40px rgba(60, 20, 170, .7); }
.cta__banner::before { content: ""; position: absolute; width: 520px; height: 520px; right: -60px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(196, 130, 255, .5), transparent 62%); z-index: -1; }
.cta__banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 300' preserveAspectRatio='none'%3E%3Cpath d='M0 230 C 200 170 380 280 560 220 S 760 170 800 190' fill='none' stroke='rgba(255,255,255,0.10)' stroke-width='2'/%3E%3Cpath d='M0 260 C 220 210 400 300 600 250 S 760 220 800 230' fill='none' stroke='rgba(255,255,255,0.07)' stroke-width='2'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.cta__title { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 12px; }
.cta__title em { background: none; color: #fff; -webkit-text-fill-color: #fff; }
.cta__lede { color: rgba(255, 255, 255, .82); max-width: 36em; margin-bottom: 26px; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.cta__alt { color: rgba(255,255,255,.8); font-size: .92rem; text-decoration: underline; text-underline-offset: 4px; }
.cta__alt:hover { color: #fff; }
.cta__symbol { justify-self: end; width: 100%; max-width: 300px; filter: drop-shadow(0 30px 40px rgba(20, 0, 60, .5)); animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-12px) rotate(-3deg); } }

.cta__form { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease), margin .55s var(--ease); }
.cta__form > .cta__form-inner { overflow: hidden; }
.cta__form.is-open { grid-template-rows: 1fr; margin-top: 22px; }
.cta__form-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 0; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.cta__form:not(.is-open) .cta__form-inner { border-color: transparent; box-shadow: none; }
.cta__side { padding: 34px 32px; background: var(--lav); border-radius: var(--r-lg) 0 0 var(--r-lg); }
.cta__side h3 { font-size: 1.3rem; margin-bottom: 18px; }
.cta__mail { margin: 22px 0 0; font-size: .92rem; color: var(--muted); }
.cta__form-inner .form-card { padding: 34px 32px; box-shadow: none; border: 0; }

/* Forms */
.form-card { padding: clamp(26px, 3.4vw, 40px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field > span { font-size: .85rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
	width: 100%; font: inherit; font-size: .97rem; color: var(--ink);
	background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px;
	-webkit-appearance: none; appearance: none; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%237B35F3' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 12px; padding-right: 38px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--p1); background: #fff; box-shadow: 0 0 0 4px rgba(91, 76, 246, .12); }
.form__note { font-size: .82rem; color: var(--muted); text-align: center; margin: -4px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 12px 14px; border-radius: 12px; background: #FFF0F3; border: 1px solid #FFD0DA; color: #A0153E; font-size: .92rem; margin-bottom: 16px; }
.form-done { text-align: center; padding: 30px 10px; }
.form-done h3 { font-size: 1.6rem; margin-bottom: 8px; }
.form-done p { color: var(--muted); margin: 0; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { position: relative; overflow: hidden; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(48px, 6vw, 80px); }
.page-hero__inner { position: relative; z-index: 1; text-align: center; max-width: 860px; }
.page-hero__title { font-size: clamp(2.3rem, 4.8vw, 3.9rem); letter-spacing: -0.035em; margin-bottom: 18px; }
.page-hero__lede { font-size: clamp(1.03rem, 1.35vw, 1.17rem); color: var(--text); max-width: 40em; margin: 0 auto; }
.page-hero--simple .page-hero__title { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero--404 { min-height: 70vh; display: flex; align-items: center; }
.page-hero--404 .page-hero__lede { margin-bottom: 28px; }

.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.model { padding: 32px 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.model--feature { border: 1.5px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--shadow); }
.model__tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--lav); color: var(--p-mid); font-size: .78rem; font-weight: 700; margin-bottom: 20px; }
.model--feature .model__tag { background: var(--grad); color: #fff; }
.model h3 { font-size: 1.35rem; margin-bottom: 10px; }
.model__text { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }

.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 0 24px; box-shadow: var(--shadow-sm); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 20px 44px 20px 0; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: linear-gradient(var(--p1), var(--p1)) center/11px 2px no-repeat, linear-gradient(var(--p1), var(--p1)) center/2px 11px no-repeat, var(--lav); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: -4px 0 20px; }

.projects--detailed { grid-template-columns: repeat(2, 1fr); gap: 26px; }

.about { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about__story p:not(.tag) { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.7; color: var(--text); }
.about__panel { position: relative; padding: 34px; border-radius: 28px; background: var(--grad-deep); color: #fff; overflow: hidden; box-shadow: var(--shadow-lg); }
.about__panel img { width: 46%; margin: -6px 0 18px auto; filter: drop-shadow(0 20px 30px rgba(10, 0, 40, .5)); animation: floaty 7s ease-in-out infinite; }
.about__panel .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about__panel .stats div { padding: 16px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.about__panel dt { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.03em; }
.about__panel dd { color: rgba(255,255,255,.75); font-size: .85rem; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 28px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value__icon, .feature__icon { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: var(--lav); color: var(--p1); margin-bottom: 18px; }
.value__icon .icon, .feature__icon .icon { width: 25px; height: 25px; }
.value h3, .feature h3 { font-size: 1.08rem; margin-bottom: 6px; }
.value p, .feature p { color: var(--muted); font-size: .92rem; margin: 0; }
.certs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.cert { padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.cert strong { display: block; color: var(--p-mid); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.cert span { color: var(--ink); font-weight: 700; font-size: .95rem; line-height: 1.35; display: block; }

.contact { position: relative; z-index: 1; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact .page-hero__lede { margin: 0 0 30px; }
.channels { display: grid; gap: 12px; }
.channels a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.channels a:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.channels small { display: block; color: var(--muted); font-size: .78rem; font-weight: 600; }
.channels span { color: var(--ink); font-weight: 700; }
.channels__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--lav); color: var(--p1); }

.svc-hero { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--p-mid); font-weight: 700; }
.page-hero--service .page-hero__lede { margin: 0 0 30px; }
.svc-hero__tagline { font-size: 1.25rem; font-weight: 700; color: var(--p-mid); margin-bottom: 10px; }
.svc-hero__card { padding: 34px; border-radius: 28px; background: var(--grad-deep); color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.svc-hero__card::before { content: ""; position: absolute; width: 320px; height: 320px; right: -80px; top: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(196, 130, 255, .5), transparent 62%); }
.svc-hero__icon { position: relative; width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); margin-bottom: 26px; animation: floaty 7s ease-in-out infinite; }
.svc-hero__icon .icon { width: 42px; height: 42px; }
.svc-hero__label { position: relative; color: rgba(255,255,255,.7); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.svc-hero__card .chips { position: relative; margin-top: 10px; }
.svc-hero__card .chips li { background: rgba(255,255,255,.12); color: #fff; }

.overview { text-align: center; }
.overview__text p { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.7; color: var(--ink); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 28px 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fit { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.fit__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fit__list li { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink); font-weight: 700; }
.fit__check { position: relative; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); }
.fit__check::after { content: ""; position: absolute; left: 8.5px; top: 5.5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Generic content */
.section--tight { padding-top: 24px; }
.prose { font-size: 1.05rem; }
.prose h2 { font-size: 1.8rem; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.35rem; margin: 1.4em 0 .5em; }
.prose a { color: var(--p1); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose img { border-radius: var(--r); }
.post-list { display: grid; gap: 14px; }
.post-item { display: block; padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.post-item .mono { color: var(--p-mid); font-size: .82rem; font-weight: 700; }
.post-item h2 { font-size: 1.4rem; margin: 6px 0; }
.post-item p { color: var(--muted); margin: 0; }
.pager { margin-top: 28px; }
.pager .nav-links { display: flex; gap: 8px; }
.pager .page-numbers { padding: 8px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.pager .current { background: var(--grad); color: #fff; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; padding: 64px 0 28px; background: #fff; border-top: 1px solid var(--line); overflow: hidden; }
.site-footer__wave { position: absolute; right: -10%; bottom: -40px; width: 60%; height: 220px; pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 220' preserveAspectRatio='none'%3E%3Cpath d='M0 200 C 200 120 420 220 600 120 S 760 40 800 60 L800 220 L0 220Z' fill='%23F1ECFF'/%3E%3Cpath d='M120 220 C 300 160 480 230 640 160 S 780 110 800 120 L800 220Z' fill='%23E6DCFF'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; }
.site-footer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr 0.8fr 1fr; gap: 32px; }
.site-footer__brand p { color: var(--muted); max-width: 26ch; margin: 16px 0 20px; }
.site-footer__col h2 { font-size: .95rem; font-weight: 800; margin-bottom: 14px; }
.site-footer__col li { margin-bottom: 9px; }
.site-footer__col a, .footer-list a { color: var(--muted); font-size: .92rem; transition: color .2s; }
.site-footer__col a:hover, .footer-list a:hover { color: var(--p1); }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--lav); color: var(--ink); transition: background .2s, color .2s; }
.socials a:hover { background: var(--grad); color: #fff; }
.socials svg { width: 17px; height: 17px; }
.socials__text { font-weight: 800; font-size: .8rem; }
.site-footer__bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.site-footer__bottom a:hover { color: var(--p1); }

/* ==========================================================================
   Motion
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.devices [data-depth] { transition: translate .4s var(--ease); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
	.dash__line { stroke-dashoffset: 0; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.svc-cards { grid-template-columns: repeat(3, 1fr); }
	.reviews__grid, .values { grid-template-columns: repeat(2, 1fr); }
	.nav { margin-left: 24px; }
	.nav__list > li > a { padding: 9px 10px; }
}

@media (max-width: 960px) {
	:root { --header-h: 68px; }
	.logo img { width: 140px; }
	.nav-toggle { display: block; z-index: 2; }
	.nav { position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; z-index: 1; flex-direction: column; align-items: stretch; gap: 18px; padding: 16px var(--side) 26px; background: #fff; box-shadow: var(--shadow-lg); transform: translateY(-10px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
	.admin-bar .nav { top: calc(var(--header-h) + 46px); }
	.nav-open .nav { transform: none; opacity: 1; visibility: visible; }
	.nav__list { flex-direction: column; gap: 2px; }
	.nav__list > li > a { font-size: 1.1rem; padding: 12px 14px; }
	.nav__list > li:has(.mega) > a::after { display: none; }
	.site-header { background: rgba(251, 250, 255, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }

	.hero__grid, .svc-hero, .about, .contact, .fit, .cta__banner { grid-template-columns: 1fr; }
	.hero__visual { max-width: 620px; margin: 0 auto; width: 100%; }
	.projects { grid-template-columns: 1fr 1fr; }
	.projects--detailed { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
	.step::after { display: none; }
	.why__row { grid-template-columns: 1fr; }
	.why__item + .why__item { border-left: 0; border-top: 1px solid var(--line); }
	.models, .features { grid-template-columns: 1fr 1fr; }
	.svc-cards--detailed { grid-template-columns: 1fr 1fr; }
	.sec-head--left { flex-direction: column; align-items: flex-start; }
	.cta__symbol { justify-self: start; max-width: 180px; order: -1; }
	.cta__form-inner { grid-template-columns: 1fr; }
	.cta__side { border-radius: var(--r-lg) var(--r-lg) 0 0; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

@media (max-width: 600px) {
	body { font-size: 16px; }
	.svc-cards, .svc-cards--detailed, .projects, .reviews__grid, .values, .models, .features, .fit__list, .steps { grid-template-columns: 1fr; }
	.svc-cards { gap: 12px; }
	.svc-card { flex-direction: row; flex-wrap: wrap; align-items: center; }
	.svc-cards .svc-card__text { flex-basis: 100%; }
	.svc-card__go { display: none; }
	.devices { padding-left: 24px; }
	.dash { min-height: 220px; font-size: 9px; }
	.dash__stats b { font-size: 12px; }
	.dash__chart { height: 80px; }
	.phone__screen { min-height: 250px; }
	.hero__actions .btn { flex: 1 1 100%; }
	.form__row { grid-template-columns: 1fr; }
	.cta__side, .cta__form-inner .form-card { padding: 26px 22px; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.about__panel .stats { grid-template-columns: 1fr 1fr; }
}

/* Grid children must be allowed to shrink on small screens */
.hero__grid > *, .svc-hero > *, .about > *, .contact > *, .fit > *, .cta__banner > * { min-width: 0; }
@media (max-width: 600px) {
	.strip__inner { gap: 10px 16px; font-size: .7rem; letter-spacing: .16em; }
	.strip__inner::before, .strip__inner::after { display: none; }
	.devices { padding: 0 0 50px 56px; }
	.phone { width: 30%; }
	.phone__screen { min-height: 220px; padding: 24px 7px 10px; font-size: 8px; }
	.phone__screen b { font-size: 11px; }
	.phone__icon { width: 40px; margin: 8px 0 2px; }
	.dash__side { padding: 10px 6px; }
	.dash__logo { width: 52px; }
}

/* ==========================================================================
   v9 — Forms in page headers and in the closing banner
   ========================================================================== */
.form-card__head { margin-bottom: 20px; }
.form-card__title { font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 4px; }
.form-card__sub { color: var(--muted); font-size: .9rem; margin: 0; }
.form-card--compact .form { gap: 14px; }
.form-card--compact .field textarea { min-height: 92px; }

/* Home hero: copy left, form right */
.hero__form { position: relative; }
.hero__form::before { content: ""; position: absolute; inset: 24px -18px -18px 24px; border-radius: 28px; background: var(--grad); opacity: .14; z-index: -1; transform: rotate(2deg); }
.hero__form .form-card { box-shadow: var(--shadow-lg); }
.hero__grid { grid-template-columns: 1.05fr 0.95fr; }

/* Inner pages with a form in the header */
.hero-split { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-split > * { min-width: 0; }
.page-hero--form .page-hero__title { font-size: clamp(2.2rem, 4.2vw, 3.5rem); }
.page-hero--form .page-hero__lede { margin: 0 0 24px; }
.hero-split__form { position: relative; }
.hero-split__form::before { content: ""; position: absolute; inset: 24px -18px -18px 24px; border-radius: 28px; background: var(--grad); opacity: .14; z-index: -1; transform: rotate(2deg); }
.hero-split__form .form-card { box-shadow: var(--shadow-lg); }
.hero-points li { position: relative; padding-left: 28px; margin-bottom: 9px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); }
.hero-points li::after { content: ""; position: absolute; left: 6px; top: calc(.2em + 4.5px); width: 4px; height: 7px; border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }

/* Service page header */
.page-hero--service .svc-hero__icon { width: 60px; height: 60px; border-radius: 16px; margin: 0 0 18px; display: grid; place-items: center; background: var(--grad); color: #fff; border: 0; box-shadow: 0 14px 30px -12px rgba(123, 53, 243, .7); animation: none; }
.page-hero--service .svc-hero__icon .icon { width: 30px; height: 30px; }
.svc-tools { margin-top: 6px; }
.svc-tools__label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 0; }
.svc-tools .chips { margin-top: 10px; }

/* Closing banner: copy left, form right */
.cta__banner { grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 4vw, 56px); }
.cta__form { display: block; margin: 0; grid-template-rows: none; }
.cta__form .form-card { box-shadow: 0 30px 60px -30px rgba(10, 0, 40, .6); border: 0; color: var(--text); }
.cta__points { margin: 0 0 18px; }
.cta__points li { position: relative; padding-left: 28px; margin-bottom: 9px; color: #fff; font-weight: 600; font-size: .95rem; }
.cta__points li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.95); }
.cta__points li::after { content: ""; position: absolute; left: 6px; top: calc(.2em + 4.5px); width: 4px; height: 7px; border: solid var(--p-mid); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.cta__mail { color: rgba(255,255,255,.75); font-size: .92rem; margin: 0; }
.cta__mail a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cta__copy .cta__symbol { display: block; width: 46%; max-width: 230px; margin: 26px 0 0; justify-self: auto; }

/* Device showcase inside "Why ISMORP" */
.why__showcase { max-width: 760px; margin: -10px auto 40px; }
.why__showcase .devices { padding-left: 80px; }

/* Contact channels (non-link items) */
.channels__item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }

@media (max-width: 960px) {
	.hero-split, .cta__banner { grid-template-columns: 1fr; }
	.hero__grid { grid-template-columns: 1fr; }
	.hero__form::before, .hero-split__form::before { inset: 16px -8px -10px 16px; }
	.cta__copy .cta__symbol { display: none; }
	.why__showcase .devices { padding-left: 56px; }
}

/* ==========================================================================
   v10 — FAQ layout, internal links
   ========================================================================== */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-layout__intro { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-layout__intro .sec-head__title { margin-bottom: 14px; }
.faq-layout__sub { color: var(--muted); margin-bottom: 24px; }
.faq-section + .cta { padding-top: 0; }
.inline-link { color: var(--p1); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(91, 76, 246, .35); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.inline-link:hover { text-decoration-color: currentColor; }
.project__services { margin: 14px 0 0; font-size: .88rem; color: var(--muted); }
.all-services { text-align: center; margin: 28px 0 0; }
@media (max-width: 960px) {
	.faq-layout { grid-template-columns: 1fr; }
	.faq-layout__intro { position: static; }
}

/* ==========================================================================
   v11 — Industries, mega menu with industries, hub link
   ========================================================================== */
.mega { width: 880px; }
.mega__cols { display: grid; grid-template-columns: 1fr 210px; gap: 10px; }
.mega__label { margin: 4px 0 6px 11px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mega__side { padding: 4px 6px 6px 16px; border-left: 1px solid var(--line); }
.mega__list { display: grid; gap: 1px; }
.nav__list .mega__list a { display: block; padding: 6px 11px; border-radius: 9px; font-size: .86rem; font-weight: 600; color: var(--ink); }
.nav__list .mega__list a:hover { background: var(--lav); color: var(--p1); }

.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ind-card { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.ind-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--lav-3); }
.ind-card__icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--lav); color: var(--p1); transition: background .3s, color .3s; }
.ind-card__icon .icon { width: 21px; height: 21px; }
.ind-card:hover .ind-card__icon { background: var(--grad); color: #fff; }
.ind-card__text { flex: 1; font-weight: 800; color: var(--ink); line-height: 1.25; font-size: .98rem; }
.ind-card__text small { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); }
.ind-card__go { color: var(--p-mid); }
.ind-card__go .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.ind-card:hover .ind-card__go .icon { transform: translateX(3px); }

.features--4 { grid-template-columns: repeat(4, 1fr); }
.tools-line { text-align: center; color: var(--muted); margin: 28px auto 0; max-width: 60ch; font-size: .95rem; }
.hub-link { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(26px, 4vw, 40px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.hub-link .sec-head__title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 4px; }
.hub-link .sec-head__sub { margin-top: 6px; max-width: 56ch; }

@media (max-width: 1100px) {
	.mega { width: 720px; }
	.ind-grid, .features--4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
	.ind-grid, .features--4 { grid-template-columns: 1fr 1fr; }
	.hub-link { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
	.ind-grid, .features--4 { grid-template-columns: 1fr; }
}
.site-footer__grid { grid-template-columns: 1.3fr 1.1fr 1fr .7fr 1fr; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* v12: editable form */
.form__row--one { grid-template-columns: 1fr; }

/* v13: menu on the right, next to the button */
@media (min-width: 961px) {
	.nav { justify-content: flex-end; gap: 22px; }
	.site-header__inner { position: relative; }
	.nav__list > li:has(.mega) { position: static; }
	.mega { left: auto; right: 0; top: calc(50% + 14px); padding-top: calc(var(--header-h) / 2 - 2px); }
}

/* v14: Start a Project popup */
.popup { width: min(560px, calc(100vw - 28px)); max-height: calc(100dvh - 28px); padding: 0; border: 0; border-radius: var(--r-lg); background: transparent; overflow: auto; overscroll-behavior: contain; }
.popup::backdrop { background: rgba(21, 17, 46, .55); backdrop-filter: blur(4px); }
.popup[open] { animation: popIn .28s var(--ease); }
.popup[open]::backdrop { animation: fadeIn .28s ease; }
.popup .form-card { box-shadow: none; border: 0; }
.popup__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--lav); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; transition: background-color .2s; }
.popup__close:hover { background: var(--lav-2); }
.popup__close:focus-visible { outline: 2px solid var(--p1); outline-offset: 2px; }
.popup .form-card__head { padding-right: 44px; }
.popup-open { overflow: hidden; }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .popup[open], .popup[open]::backdrop { animation: none; } }

/* v14: Services mega menu on mobile, as a tap-to-open list */
.sub-toggle { display: none; }
@media (max-width: 960px) {
	.nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; -webkit-overflow-scrolling: touch; }
	.admin-bar .nav { max-height: calc(100vh - var(--header-h) - 46px); }
	.nav__list > li:has(.mega) { display: grid; grid-template-columns: 1fr auto; align-items: center; }
	.sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--lav); color: var(--p1); cursor: pointer; }
	.sub-toggle::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
	li.is-open > .sub-toggle::before { transform: rotate(225deg) translate(-2px, -2px); }
	.nav__list > li > .mega { display: none; grid-column: 1 / -1; position: static; width: auto; padding: 4px 0 8px; opacity: 1; visibility: visible; transform: none; transition: none; }
	.nav__list > li.is-open > .mega { display: block; }
	.mega__inner { border: 0; box-shadow: none; padding: 0; background: transparent; }
	.mega__cols { grid-template-columns: 1fr; gap: 6px; }
	.mega__grid { grid-template-columns: 1fr; }
	.mega__text { display: none; }
	.nav__list .mega__item { padding: 8px 10px; align-items: center; }
	.mega__icon { width: 32px; height: 32px; }
	.mega__side { border-left: 0; border-top: 1px solid var(--line); padding: 10px 0 0; }
	.mega__list { grid-template-columns: 1fr 1fr; }
}

/* v15: full logo on a white card inside purple sections */
.logo-card { display: block; background: #fff; border-radius: 20px; padding: 16px 22px; box-shadow: 0 24px 50px rgba(20, 0, 60, .35); animation: floaty 7s ease-in-out infinite; }
.logo-card img { display: block; width: 100%; height: auto; }
.cta__copy .cta__symbol.logo-card { width: 62%; max-width: 280px; filter: none; }
.about__panel .about__logo { width: 62%; max-width: 300px; margin: 0 0 22px auto; }
.about__panel .about__logo img { width: 100%; margin: 0; filter: none; animation: none; }
@media (prefers-reduced-motion: reduce) { .logo-card { animation: none; } }
