/* ==========================================================================
   Martin Signature 1.1 — main stylesheet
   Graphite background, violet panel, red "sword cut", vineyard green details.
   Font: Poppins (bundled, SIL OFL).
   ========================================================================== */

@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/Poppins-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
	--bg: #17141d;
	--bg-2: #1e1a26;
	--bg-3: #272231;
	--bg-footer: #121017;
	--text: #f4f1f8;
	--muted: #b3abc2;
	--line: rgba(244, 241, 248, 0.1);

	--violet: #7c3aed;
	--violet-light: #a78bfa;
	--violet-deep: #4c1d95;
	--red: #e0263f;
	--green: #22c55e;

	--font: "Poppins", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
	--wrap: 1120px;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--section: clamp(3.5rem, 7vw, 5.5rem);
	--radius: 10px;
	--header: 68px;
	--ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 0.95rem/1.7 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.2em; }
a:hover { color: var(--violet-light); }
h1, h2, h3 { margin: 0 0 0.5em; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(760px + var(--gutter) * 2); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: #fff; color: var(--bg); padding: 0.6rem 1rem; border-radius: 6px; }
.skip-link:focus { top: 1rem; }
.hp { position: absolute; left: -9999px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 2.8rem; padding: 0.65rem 1.35rem;
	border: 2px solid var(--violet); border-radius: 8px;
	background: var(--violet); color: #fff;
	font: 500 0.9rem/1 var(--font); text-decoration: none; cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { background: #6d28d9; border-color: #6d28d9; color: #fff; }
.btn--outline { background: transparent; border-color: var(--violet-light); color: var(--text); }
.btn--outline:hover { background: var(--violet-light); border-color: var(--violet-light); color: var(--bg); }
.btn--small { min-height: 2.6rem; padding: 0.5rem 1.15rem; font-size: 0.875rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

/* Header ----------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header); background: var(--bg); transition: box-shadow 0.3s; }
.site-header.is-scrolled { background: rgba(23, 20, 29, 0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 100%; max-width: 1320px; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand:hover { color: var(--text); }
.brand__mark { position: relative; display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 8px; background: var(--violet); font-weight: 700; font-size: 1.15rem; color: #fff; overflow: hidden; }
.brand__mark::after { content: ""; position: absolute; left: -20%; right: -20%; top: 62%; height: 2px; background: var(--red); transform: rotate(-24deg); }
.brand__name { font-weight: 500; font-size: 1rem; }
.brand__name strong { font-weight: 700; }
.custom-logo { max-height: 44px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav .menu { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a { font-weight: 500; font-size: 0.9rem; text-decoration: none; color: var(--text); opacity: 0.85; }
.site-nav .menu a:hover { opacity: 1; color: var(--text); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 0.45em; }
.site-nav__cta { background: #fff; border-color: #fff; color: var(--bg); }
.site-nav__cta:hover { background: var(--bg); border-color: var(--bg); color: #fff; }

.lang { display: inline-flex; padding: 3px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 8px; }
.lang a { padding: 0.2rem 0.55rem; border-radius: 5px; font-size: 0.8rem; font-weight: 700; text-decoration: none; color: var(--text); opacity: 0.75; }
.lang a:hover { opacity: 1; color: var(--text); }
.lang a[aria-current] { background: #fff; color: var(--bg); opacity: 1; }

.nav-toggle { display: none; position: relative; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 8px; background: rgba(23, 20, 29, 0.35); color: #fff; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { position: absolute; left: 50%; width: 18px; height: 2px; background: currentColor; transform: translateX(-50%); transition: transform 0.25s var(--ease); }
.nav-toggle__bars { top: 50%; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; left: 0; transform: none; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; min-height: min(calc(100vh - var(--header)), 600px); display: flex; overflow: hidden; }
.hero__panel { position: absolute; top: 0; right: 0; bottom: 0; width: 40%; background: var(--red); clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); }
.hero__panel::after { /* violet panel; the 10px red edge is the cut of St. Martin's sword */
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(90% 70% at 70% 35%, #9b6cff 0%, var(--violet) 45%, var(--violet-deep) 100%);
	clip-path: polygon(calc(18% + 10px) 0, 100% 0, 100% 100%, 10px 100%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2rem; width: 100%; align-items: center; }
.hero__text { position: relative; z-index: 1; }
.hero__text { align-self: center; padding-block: 2.5rem 3rem; max-width: 520px; }
.hero__greeting { margin: 0 0 0.2rem; font-size: 1.05rem; font-weight: 500; color: var(--muted); }
.hero__name { margin: 0 0 0.5rem; font-size: clamp(2.4rem, 4.8vw, 4rem); line-height: 1.02; letter-spacing: -0.02em; }
.cut { position: relative; display: inline-block; color: transparent; }
.cut::before, .cut::after { content: attr(data-text); position: absolute; inset: 0; }
.cut::before { color: var(--violet-light); clip-path: polygon(0 0, 100% 0, 100% 58%, 0 72%); }
.cut::after { color: var(--red); clip-path: polygon(0 72%, 100% 58%, 100% 100%, 0 100%); transform: translate(0.03em, 0.025em); animation: msig-cut 1s var(--ease) 0.3s both; }
@keyframes msig-cut {
	from, 40% { transform: translate(0, 0); color: var(--violet-light); }
	to { transform: translate(0.03em, 0.025em); color: var(--red); }
}
.hero__last { display: inline-block; color: var(--text); }
.hero__role { font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 500; margin-bottom: 1rem; }
.hero__intro { color: var(--muted); max-width: 31rem; margin: 0; }
.status { display: inline-flex; align-items: center; gap: 0.6rem; margin: 1.4rem 0 0; font-size: 0.85rem; color: var(--muted); }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2); }

.hero__figure { position: relative; justify-self: end; width: min(330px, 100%); margin: 2.5rem 1.5rem 2.5rem 0; isolation: isolate; }
.hero__figure::before { content: ""; position: absolute; z-index: -1; inset: 0; transform: translate(18px, 18px); border: 3px solid var(--red); border-radius: 12px; }
.hero__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; border: 6px solid var(--bg); box-shadow: 0 24px 50px rgba(23, 20, 29, 0.45); }

/* Sections --------------------------------------------------------------- */
.site-main > .section:nth-of-type(even) { background: var(--bg-2); }
.section { padding-block: var(--section); }
.section-head { max-width: 600px; margin-bottom: 2.25rem; }
.section-title { position: relative; font-size: clamp(1.6rem, 2.6vw, 2.05rem); padding-bottom: 0.8rem; margin-bottom: 1.1rem; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 4px; border-radius: 2px; background: var(--violet); }
.section-intro { color: var(--muted); font-size: 1rem; margin: 0; }
.prose p { color: var(--muted); }

/* About ------------------------------------------------------------------ */
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 7vw, 6rem); align-items: center; }
.frame { position: relative; isolation: isolate; margin: 0 0 0 24px; max-width: 340px; }
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; border: 8px solid var(--bg-3); }
.frame::before { content: ""; position: absolute; z-index: -1; top: 16%; left: -24px; bottom: -24px; width: 72%; border-left: 6px solid var(--violet); border-bottom: 6px solid var(--violet); border-radius: 2px; }
.frame::after { content: ""; position: absolute; right: -14px; top: -14px; width: 56px; height: 56px; border-top: 6px solid var(--red); border-right: 6px solid var(--red); }
.about__grid > .stats { grid-column: 1 / -1; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line); }
.about--text .about__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; }
.about--text .about__grid > .stats { grid-column: auto; grid-template-columns: 1fr; gap: 1rem; padding: 0; border: 0; }
.about--text .stats__item { padding: 1.1rem 1.35rem; background: var(--bg-3); border-left: 4px solid var(--violet); border-radius: 0 8px 8px 0; }
.about--text .stats__item:first-child { border-left-color: var(--red); }
.about--text .stats__item:last-child { border-left-color: var(--green); }
.stats__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stats dd { margin: 0; font-size: 1.35rem; font-weight: 700; color: var(--violet-light); line-height: 1.2; }
.stats dt { font-size: 0.85rem; color: var(--muted); margin-top: 0.3rem; line-height: 1.4; }

/* Services --------------------------------------------------------------- */
.service-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.service { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 1.75rem 1.9rem; min-height: 220px; border-radius: var(--radius); color: #fff; }
.service::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(255, 255, 255, 0.08); }
.service--violet { background: linear-gradient(315deg, #a78bfa 0%, #7c3aed 45%, #4c1d95 100%); }
.service--red { background: linear-gradient(315deg, #fb7185 0%, #e0263f 45%, #881337 100%); }
.service--green { background: linear-gradient(315deg, #4ade80 0%, #16a34a 45%, #064e3b 100%); }
.service--night { background: linear-gradient(315deg, #3d3150 0%, #272231 50%, #17141d 100%); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.35); }
.service .icon { width: 36px; height: 36px; margin-bottom: 1rem; }
.service__title { font-size: 1.15rem; margin-bottom: 0.45rem; }
.service__text { color: rgba(255, 255, 255, 0.88); max-width: 34ch; }
.service__price { align-self: flex-start; margin: auto 0 0; padding: 0.35rem 0.85rem; border-radius: 999px; background: rgba(0, 0, 0, 0.22); font-weight: 500; font-size: 0.85rem; }

/* Tech (inside About) --------------------------------------------------- */
.tech { margin-top: 3rem; padding-top: 2.25rem; background: linear-gradient(var(--line), var(--line)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
.tech__title { font-size: 1.15rem; margin-bottom: 1.25rem; }
.tech__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 1.5rem 2.5rem; align-items: start; }
.tech__side { display: grid; gap: 1.1rem; align-content: start; }
.tech__side .logos { justify-content: flex-start; gap: 1.5rem 2.25rem; margin: 0; padding: 0.5rem 0 0; background: none; border: 0; }
.tech__side .logos__credit { margin: 0; text-align: left; }

/* Testimonials (under references) */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.quote { margin: 0; padding: 1.4rem 1.5rem; border-radius: var(--radius); background: var(--bg-3); border-left: 4px solid var(--red); }
.quote blockquote { margin: 0 0 0.8rem; }
.quote blockquote p { margin: 0; font-size: 0.98rem; line-height: 1.6; }
.quote blockquote p::before { content: "„"; }
.quote blockquote p::after { content: "“"; }
.quote figcaption { font-size: 0.85rem; }
.quote figcaption span { color: var(--muted); margin-left: 0.4rem; }
.tech-main { padding: 1.6rem 1.75rem; border-radius: var(--radius); background: linear-gradient(135deg, rgba(124, 58, 237, 0.32), rgba(124, 58, 237, 0.06)); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.4); }
.tech-main__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.9rem; }
.tech-main__badge { display: inline-grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 12px; background: var(--violet); color: #fff; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; }
.tech-main__label { margin: 0; font-size: 0.8rem; font-weight: 500; color: var(--green); }
.tech-main__title { margin: 0; font-size: 1.2rem; }
.tech-main__text { color: rgba(244, 241, 248, 0.85); margin-bottom: 1.1rem; }
.tech-group__title { font-size: 0.85rem; font-weight: 500; color: var(--muted); margin-bottom: 0.6rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 0.35rem 0.85rem; border-radius: 999px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.85rem; font-weight: 500; }
.chips--light li { background: rgba(255, 255, 255, 0.1); box-shadow: none; }

.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem 2.75rem; list-style: none; margin: 2rem 0 0; padding: 1.75rem 0 0; border-top: 1px solid var(--line); }
.logos img { width: auto; height: 34px; max-width: 140px; object-fit: contain; filter: grayscale(1) brightness(1.8); opacity: 0.7; transition: filter 0.2s, opacity 0.2s; }
.logos li:hover img { filter: none; opacity: 1; }
.logos__credit { margin: 1rem auto 0; max-width: 70ch; text-align: center; font-size: 0.72rem; color: rgba(179, 171, 194, 0.7); }

/* Work ------------------------------------------------------------------- */
.contact__form input, .contact__form select, .contact__form textarea { background: var(--bg); }
.work-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.project { display: flex; flex-direction: column; background: var(--bg-3); border-radius: var(--radius); overflow: hidden; }
.project__cover { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.project__cover img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.5s var(--ease); }
.project:hover .project__cover img { transform: scale(1.03); }
.project__cover-link { position: absolute; inset: 0; z-index: 2; }
.project__body { display: flex; flex-direction: column; flex: 1; padding: 0.9rem 1rem 1rem; }
.project__meta { margin: 0 0 0.2rem; font-size: 0.72rem; font-weight: 500; color: var(--violet-light); }
.project__title { font-size: 0.95rem; margin-bottom: 0.4rem; }
.project__title a { text-decoration: none; }
.project__visit { display: inline-block; margin-top: auto; padding-top: 0.6rem; font-size: 0.78rem; font-weight: 500; color: var(--violet-light); text-decoration: none; }
.project__visit::after { content: " ↗"; }
.project__visit:hover { text-decoration: underline; }
.project__text { margin: 0; font-size: 0.8rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); }

.mock { position: absolute; inset: 0; display: block; }
.mock--violet { background: linear-gradient(135deg, #8b5cf6, #4c1d95); --mock: #5b21b6; }
.mock--red { background: linear-gradient(135deg, #fb7185, #9f1239); --mock: #be123c; }
.mock--green { background: linear-gradient(135deg, #4ade80, #065f46); --mock: #047857; }
.mock--night { background: linear-gradient(135deg, #3d3150, #17141d); --mock: #272231; }
.mock__bar, .mock__body { position: absolute; left: 11%; right: 11%; }
.mock__bar { top: 14%; height: 11%; display: flex; align-items: center; gap: 5px; padding-left: 10px; background: #ebe7f2; border-radius: 7px 7px 0 0; }
.mock__bar i { width: 7px; height: 7px; border-radius: 50%; background: #c9c1d6; }
.mock__bar i:first-child { background: var(--red); }
.mock__body { top: 25%; bottom: -2%; background: #f8f6fb; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25); }
.mock__title { display: block; margin: 7% 8% 0; padding: 6% 8%; background: var(--mock); color: #fff; border-radius: 4px; font-weight: 700; font-size: 0.72rem; line-height: 1.2; }
.mock__lines { display: block; margin: 7% 8% 0; }
.mock__lines i { display: block; height: 7px; margin-bottom: 7px; border-radius: 4px; background: #e2dcea; }
.mock__lines i:last-child { width: 62%; }

/* Features ----------------------------------------------------------------- */
.feature-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 2rem; }
.feature-col__title { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.9rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.feature-col__title::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--violet); flex: none; }
.feature-col--food .feature-col__title::before { background: var(--red); }
.feature-col--shop .feature-col__title::before { background: var(--green); }
.feature-col--growth .feature-col__title::before { background: var(--violet-light); }
.feature-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.feature-col li { display: grid; gap: 0.05rem; }
.feature-col__name { font-size: 0.9rem; font-weight: 500; }
.feature-col__plugins { font-size: 0.75rem; color: var(--muted); }

/* Mini process (above pricing) ------------------------------------------- */
.mini-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin: -0.5rem 0 2rem; padding: 0.9rem 1.2rem; border-radius: var(--radius); background: var(--bg-3); }
.mini-steps__title { margin: 0; font-weight: 700; font-size: 0.9rem; }
.mini-steps ol { display: flex; flex-wrap: wrap; gap: 0.5rem 0; list-style: none; margin: 0; padding: 0; }
.mini-steps li { display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: var(--muted); }
.mini-steps li:not(:last-child)::after { content: "→"; margin: 0 0.7rem; color: var(--violet-light); }
.mini-steps li span { padding: 0.15rem 0.55rem; border-radius: 999px; background: var(--violet); color: #fff; font-size: 0.72rem; font-weight: 700; }
.mini-steps li:last-child span { background: var(--green); color: var(--bg); }

/* Pricing ------------------------------------------------------------------ */
.plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 1.75rem 1.6rem; border-radius: 12px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); }
.plan--popular { background: linear-gradient(160deg, #3a2266 0%, var(--bg-3) 70%); box-shadow: inset 0 0 0 2px var(--violet); }
.plan__badge { position: absolute; top: -0.8rem; left: 1.6rem; margin: 0; padding: 0.25rem 0.75rem; border-radius: 999px; background: var(--red); color: #fff; font-size: 0.75rem; font-weight: 700; }
.plan__name { font-size: 1.2rem; margin-bottom: 0.15rem; }
.plan__for { margin: 0 0 1rem; font-size: 0.85rem; color: var(--muted); }
.plan__price { margin: 0 0 1.25rem; font-size: 1.9rem; font-weight: 700; line-height: 1.1; color: var(--text); }
.plan--popular .plan__price { color: var(--violet-light); }
.plan__list { list-style: none; margin: 0 0 1.5rem; padding: 1.1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: 0.55rem; }
.plan__list li { position: relative; padding-left: 1.6rem; font-size: 0.9rem; }
.plan__list li::before { content: ""; position: absolute; left: 0.15rem; top: 0.35rem; width: 0.75rem; height: 0.42rem; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }
.pricing__note { margin: 1.5rem 0 0; font-size: 0.88rem; color: var(--muted); text-align: center; }

/* FAQ ---------------------------------------------------------------------- */
.faq__list { display: grid; gap: 0.75rem; }
.faq__item { border-radius: var(--radius); background: var(--bg-3); }
.faq__item summary { position: relative; padding: 1rem 3rem 1rem 1.25rem; font-weight: 500; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--violet-light); transition: transform 0.2s; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { margin: 0; padding: 0 1.25rem 1.1rem; color: var(--muted); font-size: 0.92rem; }

/* Mobile CTA bar ----------------------------------------------------------- */
.mobile-bar { display: none; }

/* Contact ---------------------------------------------------------------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-list { list-style: none; margin: 2rem 0; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list span { color: var(--muted); font-size: 0.875rem; padding-top: 0.1rem; }
.contact-list a { text-decoration: none; font-weight: 500; }
.contact__form { background: rgba(0, 0, 0, 0.18); border: 1px solid var(--line); border-radius: 12px; padding: clamp(1.25rem, 2.5vw, 2rem); }

.social { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; margin: 0; padding: 0; }
.social a { display: inline-block; padding: 0.4rem 0.9rem; border: 1px solid var(--line); border-radius: 8px; font-size: 0.85rem; text-decoration: none; color: var(--muted); }
.social a:hover { border-color: var(--violet-light); color: var(--text); }

/* Forms ------------------------------------------------------------------ */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], select, textarea {
	width: 100%; min-height: 2.75rem; padding: 0.65rem 0.9rem;
	background: var(--bg); color: var(--text);
	border: 1px solid var(--line); border-radius: 8px;
	font: 400 0.95rem/1.4 var(--font);
}
textarea { min-height: 7rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet-light); box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.25); }
::placeholder { color: rgba(179, 171, 194, 0.7); }
.mck-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.mck-form .field { display: flex; flex-direction: column; gap: 0.4rem; }
.mck-form .field--full { grid-column: 1 / -1; }
.mck-form label { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.mck-form .field--check { flex-direction: row; align-items: flex-start; gap: 0.7rem; }
.mck-form .field--check input { width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; accent-color: var(--violet); flex: none; }
.mck-form .field--check label { font-weight: 400; }
.mck-form .btn { justify-self: start; }
.notice-box { padding: 1rem 1.25rem; border-radius: 8px; border: 1px solid var(--line); margin-bottom: 1.25rem; }
.notice-box--ok { border-color: var(--green); background: rgba(34, 197, 94, 0.12); }
.notice-box--error { border-color: var(--red); background: rgba(224, 38, 63, 0.12); }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--bg-footer); padding-top: 2.75rem; }
.site-footer__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 2rem; align-items: start; padding-bottom: 2rem; }
.site-footer__brand p { color: var(--muted); max-width: 34ch; margin-top: 1rem; font-size: 0.92rem; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 0.5rem 2rem; justify-content: start; }
.footer-menu a { text-decoration: none; color: var(--muted); font-size: 0.92rem; }
.footer-menu a:hover { color: var(--text); }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-block: 1.25rem; background: linear-gradient(var(--line), var(--line)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat; font-size: 0.85rem; color: var(--muted); }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom .lang { margin-left: auto; }

/* Other pages ------------------------------------------------------------ */
.page { padding-block: clamp(3rem, 7vw, 5.5rem) var(--section); }
.page__title { font-size: clamp(2rem, 4.5vw, 3rem); }
.page__item { padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.page__big { margin: 0; font-size: clamp(5rem, 16vw, 9rem); font-weight: 700; line-height: 1; color: var(--violet-light); }
.prose { font-size: 1.02rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.75em; }
.prose a { color: var(--violet-light); }
.prose li { color: var(--muted); margin-bottom: 0.35rem; }
.prose blockquote { margin: 2rem 0; padding-left: 1.25rem; border-left: 4px solid var(--violet); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1060px) {
	.work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.feature-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	:root { --header: 68px; }
	.nav-toggle { display: block; z-index: 60; }
	.site-nav { position: fixed; inset: 0; z-index: 55; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2rem; padding: 6rem var(--gutter) 3rem; background: var(--bg); opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s; }
	.site-nav.is-open { opacity: 1; visibility: visible; }
	.site-nav .menu { flex-direction: column; gap: 0.6rem; }
	.site-nav .menu a { font-size: 1.9rem; font-weight: 700; opacity: 1; }
	.site-nav__cta { background: var(--violet); border-color: var(--violet); color: #fff; }
	body.nav-open { overflow: hidden; }

	.hero { min-height: 0; display: block; }
	.hero__panel { bottom: auto; width: 100%; height: 250px; clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%); }
	.hero__panel::after { clip-path: polygon(0 0, 100% 0, 100% calc(78% - 10px), 0 calc(100% - 10px)); }
	.hero__grid { grid-template-columns: 1fr; gap: 0; }
	.hero__figure { order: -1; justify-self: center; width: 210px; margin: 1.75rem 18px 0 0; }
	.hero__text { padding-block: 2rem 3rem; }

	.about__grid, .contact__grid, .about--text .about__grid, .tech__grid { grid-template-columns: 1fr; }
	.frame { max-width: 300px; margin-inline: 24px auto; }
	.site-footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
	.plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; gap: 1.75rem; }
	.plan--popular { order: -1; }
	.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 0.6rem; padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom)); background: rgba(23, 20, 29, 0.96); box-shadow: 0 -1px 0 var(--line); }
	.mobile-bar .btn { flex: 1; min-height: 2.75rem; }
	body { padding-bottom: 4rem; }
}

@media (max-width: 640px) {
	.feature-grid { grid-template-columns: 1fr; }
	.filter { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.25rem; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
	.filter__btn { flex: none; }
	.service-grid, .work-grid { grid-template-columns: 1fr; }
	.service { min-height: 0; padding: 1.75rem; }
	.stats { grid-template-columns: 1fr; gap: 0.9rem; }
	.stats__item { flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 0.75rem; }
	.mck-form { grid-template-columns: 1fr; }
	.contact-list li { grid-template-columns: 1fr; gap: 0.1rem; }
	.actions .btn { flex: 1 1 auto; }
	.site-footer__bottom .lang { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
}
