/* ==========================================================================
   Softweb theme — main stylesheet
   ========================================================================== */

:root {
	--ink: #14122b;
	--body: #3d3b52;
	--muted: #6b6980;
	--line: #e6e4ee;
	--soft: #f7f6fb;
	--white: #fff;
	--primary: #5b3df5;
	--primary-d: #4a2ee0;
	--primary-soft: #efecfe;
	--ok: #16a36a;
	--star: #f5a623;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(20, 18, 43, .04), 0 10px 30px -14px rgba(20, 18, 43, .14);
	--shadow-lg: 0 24px 60px -24px rgba(20, 18, 43, .28);
	--container: 1440px;
	--gutter: 40px;
	--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--body); font-family: var(--font); font-size: 16px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(38px, 4.6vw, 62px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
h2 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 750; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

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

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; top: 12px; left: 12px; z-index: 100; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; }

/* Buttons & small elements ------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--radius-sm); border: 1px solid transparent; font-size: 15px; font-weight: 600; line-height: 1.2; cursor: pointer; transition: background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn i { font-size: .85em; transition: transform .2s; }
.btn:hover i.fa-arrow-right { transform: translateX(3px); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-d); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2748; }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.eyebrow { display: inline-block; margin-bottom: 16px; padding: 6px 12px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.eyebrow--light { background: rgba(255, 255, 255, .08); color: #c8c1ff; }

.icon-box { display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); font-size: 18px; }
.icon-box--sm { width: 40px; height: 40px; font-size: 16px; border-radius: 10px; }

.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-size: 14.5px; font-weight: 600; }
.text-link i { font-size: .8em; transition: transform .2s; }
a:hover .text-link i, .text-link:hover i { transform: translateX(3px); }

.chip { position: absolute; top: 14px; left: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 12px; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.tags li { padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--body); font-size: 12px; font-weight: 600; }
.tags--lg { margin-bottom: 32px; }
.tags--lg li { font-size: 13px; padding: 6px 12px; }
.stars { color: var(--star); font-size: 13px; letter-spacing: 2px; line-height: 1; }
.center-row { margin-top: 44px; text-align: center; }

/* Sections -------------------------------------------------------------- */
.section { padding: 112px 0; }
.section--tight { padding: 72px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: #c9c6da; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 18px; }

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Announcement bar ----------------------------------------------------- */
.announce { background: var(--ink); color: #dddbe8; font-size: 14px; }
.announce__in { position: relative; display: flex; align-items: center; justify-content: center; min-height: 42px; padding-right: 56px; padding-left: 56px; text-align: center; }
.announce a { margin-left: 8px; color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .4); white-space: nowrap; }
.announce a i { font-size: 11px; }
.announce a:hover { border-color: #fff; }
.announce__close { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; border-radius: 6px; background: transparent; color: #9c99b3; cursor: pointer; }
.announce__close:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.announce.is-hidden { display: none; }

/* Header --------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; padding: 14px 0; transition: padding .25s; }
.site-header.is-scrolled { padding: 8px 0; }
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 8px 8px 8px 22px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 6px 20px -14px rgba(20, 18, 43, .25); transition: box-shadow .25s; }
.site-header.is-scrolled .navbar { box-shadow: 0 14px 34px -18px rgba(20, 18, 43, .35); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.brand__mark { position: relative; width: 30px; height: 30px; border-radius: 9px; background: var(--primary); }
.brand__mark::after { content: ""; position: absolute; inset: 9px; border-radius: 3px; background: #fff; }
.custom-logo-link img { max-height: 40px; width: auto; }

.primary-nav .menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu > li > a { display: flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; color: var(--body); font-size: 15px; font-weight: 500; transition: background .2s, color .2s; }
.primary-nav .menu > li > a:hover, .primary-nav .menu > li:focus-within > a { background: var(--soft); color: var(--ink); }
.primary-nav .menu > li.is-active > a, .primary-nav .menu > li.current-menu-item > a { color: var(--primary); }
.primary-nav .menu-item-has-children > a::after { content: "\f107"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 11px; transition: transform .2s; }
.primary-nav .menu-item-has-children:hover > a::after, .primary-nav .menu-item-has-children:focus-within > a::after { transform: rotate(180deg); }

/* Dropdowns: regular WP sub-menus and the services mega menu */
.primary-nav .sub-menu, .mega { position: absolute; top: calc(100% + 12px); left: 0; z-index: 10; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); }
.primary-nav .sub-menu::before, .mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu, .has-mega:hover > .mega, .has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu { min-width: 220px; padding: 8px; list-style: none; }
.primary-nav .sub-menu a { display: block; padding: 9px 12px; border-radius: 10px; font-size: 14.5px; color: var(--body); }
.primary-nav .sub-menu a:hover { background: var(--soft); color: var(--ink); }
.mega { left: -40px; width: 720px; padding: 12px; }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; list-style: none; }
.mega__grid a { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 12px; transition: background .2s; }
.mega__grid a:hover { background: var(--soft); }
.mega__ic { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); font-size: 15px; }
.mega__grid b { display: block; color: var(--ink); font-size: 14.5px; font-weight: 600; }
.mega__grid small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.mega__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; padding: 14px 16px; border-radius: 12px; background: var(--soft); font-size: 13.5px; color: var(--muted); }
.mega__foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 600; white-space: nowrap; }

.navbar__actions { display: flex; align-items: center; gap: 14px; }
.navbar__phone { display: flex; align-items: center; gap: 10px; line-height: 1.25; }
.navbar__phone-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--soft); color: var(--ink); font-size: 14px; }
.navbar__phone small { display: block; color: var(--muted); font-size: 12px; }
.navbar__phone b { display: block; color: var(--ink); font-size: 14px; }
.navbar__cta { border-radius: 999px; padding: 12px 20px; }

.burger { display: none; position: relative; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s, opacity .25s, top .25s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.site-header.is-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.site-header.is-open .burger span:nth-child(2) { opacity: 0; }
.site-header.is-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
.site-header.is-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.mobile-nav__panel { max-height: calc(100vh - 110px); overflow-y: auto; padding: 12px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); }
.mobile-nav__panel > ul { list-style: none; margin-bottom: 12px; }
.mobile-nav a:not(.btn) { display: block; padding: 13px 14px; border-radius: 10px; color: var(--ink); font-size: 16px; font-weight: 600; }
.mobile-nav a:not(.btn):hover { background: var(--soft); }
.mobile-nav .sub-menu, .mobile-nav .mega { display: none; }

/* Hero ----------------------------------------------------------------- */
.hero { padding: 64px 0 56px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.hero h1 .hl { color: var(--primary); }
.hero .lead { max-width: 560px; margin: 22px 0 34px; color: var(--muted); font-size: 19px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); list-style: none; }
.hero__stats strong { display: block; color: var(--ink); font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.hero__stats span { color: var(--muted); font-size: 14px; }
.hero__media { position: relative; padding: 0 0 40px 0; }
.hero__img { margin: 0; overflow: hidden; background: var(--soft); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--main { width: 84%; aspect-ratio: 5 / 4.6; border-radius: 24px; }
.hero__img--sub { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 4 / 3; border-radius: 18px; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.hero__note { position: absolute; left: -24px; bottom: 96px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); }
.hero__note-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #e7f6ef; color: var(--ok); font-size: 17px; }
.hero__note b { display: block; color: var(--ink); font-size: 14px; }
.hero__note small { display: block; color: var(--muted); font-size: 12.5px; }
.clients { display: flex; align-items: center; gap: 40px; margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line); }
.clients > span { flex: none; color: var(--muted); font-size: 14px; font-weight: 500; }
.clients ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; flex: 1; list-style: none; }
.clients li { color: #a3a1b4; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }

/* Services ------------------------------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .25s, border-color .25s; }
.service-card:hover { border-color: #d8d4ea; box-shadow: var(--shadow); }
.service-card__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-card__img img { transform: scale(1.03); }
.service-card__body { position: relative; padding: 0 28px 28px; }
.service-card__body .icon-box { margin-top: -23px; margin-bottom: 18px; border: 4px solid #fff; width: 54px; height: 54px; box-sizing: border-box; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { margin-bottom: 18px; color: var(--muted); font-size: 15.5px; }

/* Portfolio ------------------------------------------------------------ */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.filters button { padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--body); font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filters button:hover { border-color: var(--ink); }
.filters button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .25s; }
.project:hover { box-shadow: var(--shadow); }
.project.is-hidden { display: none; }
.project__link { display: flex; flex-direction: column; height: 100%; }
.project__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project:hover .project__img img { transform: scale(1.03); }
.project__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.project h3 { font-size: 19px; }
.project__body > p { margin: 6px 0 18px; color: var(--muted); font-size: 15px; }
.project__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.project__result { color: var(--primary); font-size: 14px; font-weight: 700; }
.project--featured { grid-column: span 2; }
.project--featured .project__link { flex-direction: row; }
.project--featured .project__img { flex: 1.15; aspect-ratio: auto; min-height: 360px; }
.project--featured .project__body { flex: 1; justify-content: center; padding: 36px; }
.project--featured h3 { font-size: 26px; line-height: 1.2; }
.project__stats { display: flex; flex-wrap: wrap; gap: 28px; margin: 0 0 22px; list-style: none; }
.project__stats strong { display: block; color: var(--ink); font-size: 24px; font-weight: 800; line-height: 1.2; }
.project__stats span { color: var(--muted); font-size: 13px; }
.project__stats--lg { margin-bottom: 24px; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); }

/* Process -------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; }
.step { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 49px; right: -25px; width: 26px; height: 1px; background: var(--line); }
.step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.step__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); font-size: 15px; font-weight: 700; }
.step__time { padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: 12.5px; font-weight: 600; }
.step h3 { margin-bottom: 6px; }
.step > p { margin-bottom: 18px; color: var(--muted); font-size: 15px; }
.checklist { padding-top: 16px; border-top: 1px solid var(--line); list-style: none; }
.checklist li { display: flex; align-items: baseline; gap: 10px; padding: 4px 0; font-size: 14.5px; }
.checklist i { color: var(--ok); font-size: 12px; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; list-style: none; }
.perks li { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: 14px; background: var(--soft); }
.perks strong { color: var(--ink); font-size: 24px; font-weight: 800; white-space: nowrap; }
.perks span { color: var(--muted); font-size: 14px; line-height: 1.35; }

/* Technologies --------------------------------------------------------- */
.tech { display: grid; grid-template-columns: 320px 1fr; gap: 24px; align-items: start; }
.tech__tabs { display: flex; flex-direction: column; gap: 6px; }
.tech__tab { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 1px solid transparent; border-radius: 14px; background: transparent; text-align: left; cursor: pointer; transition: background .2s, border-color .2s; }
.tech__tab:hover { background: rgba(255, 255, 255, .7); }
.tech__tab.is-active { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.tech__tab.is-active .icon-box { background: var(--primary); color: #fff; }
.tech__tab-txt b { display: block; color: var(--ink); font-size: 15.5px; }
.tech__tab-txt small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; }
.tech__count { margin-left: auto; padding: 2px 9px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: 12px; font-weight: 700; }
.tech__panel { padding: 36px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.tech__panel[hidden] { display: none; }
.tech__head { margin-bottom: 28px; }
.tech__head h3 { margin-bottom: 6px; font-size: 26px; }
.tech__head p { color: var(--muted); }
.tech__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; list-style: none; }
.tech__item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 12px 18px; border: 1px solid var(--line); border-radius: 14px; text-align: center; transition: border-color .2s; }
.tech__item:hover { border-color: #c9c1fb; }
.tech__item img { width: 40px; height: 40px; }
.tech__item b { color: var(--ink); font-size: 15px; line-height: 1.2; }
.tech__item small { color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.tech__note { margin-top: 28px; text-align: center; color: var(--muted); }
.tech__note a { color: var(--primary); font-weight: 600; }
.tech__note i { font-size: .8em; }

/* Testimonials --------------------------------------------------------- */
.ratings { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: -16px 0 44px; list-style: none; }
.ratings li { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.ratings b { color: var(--ink); font-size: 15px; }
.ratings strong { color: var(--ink); font-size: 20px; font-weight: 800; }
.ratings li > span { display: flex; flex-direction: column; gap: 3px; }
.ratings .stars { font-size: 11px; }
.ratings small { color: var(--muted); font-size: 12px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { display: flex; flex-direction: column; margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.review__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.review .tag { padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--body); font-size: 12px; font-weight: 600; }
.review blockquote { flex: 1; margin: 0 0 22px; color: var(--ink); font-size: 16px; line-height: 1.65; }
.review__who { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.review__who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.review__who b { display: block; color: var(--ink); font-size: 15px; }
.review__who span span { display: block; color: var(--muted); font-size: 13px; }
.review--featured { grid-column: span 2; display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding: 16px; background: var(--ink); border-color: var(--ink); }
.review__photo { position: relative; min-height: 300px; overflow: hidden; border-radius: 12px; }
.review__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.review--featured .review__body { display: flex; flex-direction: column; padding: 16px 16px 16px 0; }
.review--featured .stars { margin-bottom: 14px; }
.review--featured blockquote { color: #fff; font-size: 20px; font-weight: 500; line-height: 1.55; }
.review__stats { display: flex; gap: 28px; margin-bottom: 18px; list-style: none; }
.review__stats strong { display: block; color: #fff; font-size: 24px; font-weight: 800; }
.review__stats span { color: #a9a6c3; font-size: 13px; }
.review--featured figcaption { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); }
.review--featured figcaption b { display: block; color: #fff; font-size: 15px; }
.review--featured figcaption span { color: #a9a6c3; font-size: 13px; }

/* Contact -------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.contact h2 { margin-bottom: 16px; color: #fff; }
.contact .lead { max-width: 520px; color: #b8b5cc; font-size: 18px; }
.contact__subhead { margin: 36px 0 14px; color: #9d99b8; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.next-steps { display: grid; gap: 14px; list-style: none; }
.next-steps li { display: flex; align-items: flex-start; gap: 14px; }
.next-steps li > span { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 8px; background: rgba(255, 255, 255, .08); color: #fff; font-size: 14px; font-weight: 700; }
.next-steps b { display: block; color: #fff; font-size: 15.5px; }
.next-steps small { color: #9d99b8; font-size: 13.5px; }
.contact__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 18px; list-style: none; }
.contact__links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-sm); color: #fff; font-size: 14.5px; font-weight: 500; transition: background .2s; }
.contact__links a:hover { background: rgba(255, 255, 255, .06); }
.contact__reply { display: flex; align-items: center; gap: 8px; color: #b8b5cc; font-size: 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; }

.form-card { padding: 36px; border-radius: 20px; background: #fff; color: var(--body); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 22px; }
.form-sub { margin: 4px 0 22px; color: var(--muted); font-size: 14px; }
.field { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; margin-bottom: 6px; padding: 0; color: var(--ink); font-size: 13.5px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink); font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; margin: 0 !important; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--body); font-size: 13.5px; font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.choice:hover span { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.form-trust { margin-top: 12px; text-align: center; color: var(--muted); font-size: 12.5px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-bottom: 16px; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 14px; }
.form-msg.is-error { background: #fdecec; color: #b42318; }
.form-done { padding: 40px 10px; text-align: center; }
.form-done__ic { color: var(--ok); font-size: 48px; }
.form-done h3 { margin: 12px 0 6px; }
.form-done p { color: var(--muted); }

/* Footer --------------------------------------------------------------- */
.site-footer { padding: 72px 0 0; background: var(--ink); color: #a9a6c3; font-size: 15px; border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer .brand { color: #fff; }
.site-footer .brand__mark::after { background: var(--ink); }
.newsletter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 30px; margin-bottom: 56px; padding: 28px 32px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; background: rgba(255, 255, 255, .03); }
.newsletter h3 { color: #fff; font-size: 20px; margin-bottom: 4px; }
.newsletter p { font-size: 14px; }
.newsletter__form { display: flex; flex: 1; gap: 8px; min-width: 260px; max-width: 440px; padding: 5px; border-radius: var(--radius-sm); background: #fff; }
.newsletter__form input { flex: 1; min-width: 0; padding: 0 12px; border: 0; outline: 0; background: transparent; color: var(--ink); }
.newsletter__form button { padding: 11px 18px; border: 0; border-radius: 8px; background: var(--primary); color: #fff; font-weight: 600; cursor: pointer; }
.newsletter__form button:hover { background: var(--primary-d); }
.newsletter__msg { width: 100%; font-size: 14px; }
.newsletter__msg.is-ok { color: #6ee7b7; }
.newsletter__msg.is-error { color: #fca5a5; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-brand p { max-width: 320px; margin: 16px 0 22px; font-size: 14.5px; line-height: 1.7; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .07); color: #fff; font-size: 16px; transition: background .2s; }
.socials a:hover { background: var(--primary); }
.footer-col h4 { margin-bottom: 18px; color: #fff; font-size: 15px; letter-spacing: 0; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; font-size: 14.5px; }
.footer-col a { transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; }
.footer-contact i { width: 16px; margin-top: 4px; color: #9f94ff; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.legal-nav ul { display: flex; gap: 20px; list-style: none; }
.legal-nav a:hover { color: #fff; }
.to-top { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .08); color: #fff; }
.to-top:hover { background: rgba(255, 255, 255, .16); }

/* Inner pages ---------------------------------------------------------- */
.page-hero { padding: 64px 0 48px; border-bottom: 1px solid var(--line); background: var(--soft); }
.page-hero h1 { font-size: clamp(32px, 4vw, 52px); }
.page-hero__text { max-width: 680px; margin-top: 14px; color: var(--muted); font-size: 18px; }
.entry-meta { margin-bottom: 12px; color: var(--muted); font-size: 14px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .25s; }
.post-card:hover { box-shadow: var(--shadow); }
.post-card__link { display: flex; flex-direction: column; height: 100%; }
.post-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 26px; }
.post-card time { color: var(--muted); font-size: 13px; }
.post-card h2 { margin: 6px 0 8px; font-size: 20px; }
.post-card p { margin-bottom: 16px; color: var(--muted); font-size: 15px; }
.post-card .text-link { margin-top: auto; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 48px; }
.page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; }
.page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.entry-image { margin: 0 0 36px; overflow: hidden; border-radius: var(--radius); }
.entry-content { color: var(--body); font-size: 17px; line-height: 1.75; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { margin-top: 1.8em; font-size: 28px; }
.entry-content h3 { margin-top: 1.6em; font-size: 22px; }
.entry-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content img { border-radius: 12px; }
.entry-content blockquote { margin-left: 0; padding-left: 20px; border-left: 3px solid var(--primary); color: var(--ink); font-size: 19px; }
.entry-content code { padding: 2px 6px; border-radius: 6px; background: var(--soft); font-size: .9em; }
.entry-content pre { overflow: auto; padding: 18px; border-radius: 12px; background: var(--ink); color: #e5e3f0; }
.entry-content .alignwide { margin-left: -80px; margin-right: -80px; max-width: none; }
.entry-footer { margin-top: 36px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation a { display: block; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; }
.post-navigation small { display: block; color: var(--muted); font-size: 13px; }
.post-navigation span { color: var(--ink); font-weight: 600; }
.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 56px; padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.cta-box h3 { margin-bottom: 4px; }
.cta-box p { color: var(--muted); }
.search-form { display: flex; gap: 8px; max-width: 480px; margin: 24px auto; }
.search-form label { flex: 1; }
.search-field { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.search-submit { padding: 12px 20px; border: 0; border-radius: var(--radius-sm); background: var(--ink); color: #fff; font-weight: 600; cursor: pointer; }
.empty, .error-404 { text-align: center; }
.error-404 { padding: 120px 0; }
.error-404 .lead { margin: 14px 0 8px; color: var(--muted); font-size: 18px; }
.comments-area { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.comments-title, .comment-reply-title { margin-bottom: 20px; font-size: 24px; }
.comment-list { list-style: none; margin-bottom: 40px; }
.comment-list .children { list-style: none; padding-left: 40px; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.comment-author { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; }
.comment-author .avatar { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { margin: 4px 0 10px 56px; color: var(--muted); font-size: 13px; }
.comment-content { margin-left: 56px; }
.comment-content p + p { margin-top: .8em; }
.reply { margin: 8px 0 0 56px; font-size: 14px; font-weight: 600; color: var(--primary); }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 13.5px; font-weight: 600; }
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 400; }
.comment-notes, .logged-in-as { color: var(--muted); font-size: 14px; }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.comment-form .submit { padding: 12px 22px; border: 0; border-radius: var(--radius-sm); background: var(--primary); color: #fff; font-weight: 600; cursor: pointer; }

/* Responsive ----------------------------------------------------------- */
@media (max-width: 1280px) {
	:root { --gutter: 32px; }
	.hero__grid { gap: 48px; }
	.tech { grid-template-columns: 280px 1fr; }
	.navbar__phone { display: none; }
}

@media (max-width: 1100px) {
	.primary-nav { display: none; }
	.burger { display: block; }
	.mobile-nav { display: block; }
}

@media (max-width: 992px) {
	.section { padding: 88px 0; }
	.hero__grid { grid-template-columns: 1fr; }
	.hero__media { max-width: 640px; }
	.services-grid, .projects-grid, .reviews-grid, .post-grid { grid-template-columns: 1fr 1fr; }
	.steps, .perks { grid-template-columns: 1fr 1fr; }
	.step::after { display: none; }
	.tech { grid-template-columns: 1fr; }
	.tech__tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
	.tech__tab { flex: none; width: auto; }
	.tech__tab-txt small { display: none; }
	.contact { grid-template-columns: 1fr; gap: 48px; }
	.footer-grid { grid-template-columns: repeat(3, 1fr); }
	.footer-brand { grid-column: 1 / -1; }
	.clients { flex-direction: column; align-items: flex-start; gap: 18px; }
	.clients ul { justify-content: flex-start; }
	.entry-content .alignwide { margin-left: 0; margin-right: 0; }
}

@media (max-width: 640px) {
	:root { --gutter: 20px; }
	body { font-size: 15.5px; }
	.section { padding: 72px 0; }
	.section-head { margin-bottom: 40px; }
	.section-head p, .hero .lead { font-size: 17px; }
	.announce__in { justify-content: flex-start; padding-left: var(--gutter); text-align: left; font-size: 13px; }
	.navbar { padding-left: 16px; }
	.navbar__cta { display: none; }
	.hero { padding-top: 40px; }
	.hero__stats { gap: 24px; }
	.hero__stats strong { font-size: 24px; }
	.hero__note { left: 0; bottom: 70px; }
	.services-grid, .projects-grid, .reviews-grid, .post-grid, .steps, .perks { grid-template-columns: 1fr; }
	.project--featured, .review--featured { grid-column: auto; }
	.project--featured .project__link { flex-direction: column; }
	.project--featured .project__img { min-height: 0; aspect-ratio: 16 / 10; }
	.project--featured .project__body { padding: 22px 24px 24px; }
	.project--featured h3 { font-size: 21px; }
	.review--featured { grid-template-columns: 1fr; }
	.review__photo { min-height: 260px; }
	.review--featured .review__body { padding: 8px 10px 12px; }
	.review--featured blockquote { font-size: 18px; }
	.tech__panel { padding: 22px 16px; }
	.tech__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.field-row { grid-template-columns: 1fr; }
	.form-card { padding: 24px 20px; }
	.newsletter { padding: 22px; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
	.js .reveal { opacity: 1; transform: none; }
}
