/*
Theme Name: WPiro Landing
Theme URI: https://wpiro.com/
Author: Eugene Gor
Description: Minimal WordPress theme for the WPiro landing page.
Version: 1.0.54
Text Domain: wpiro
*/

/* ============================================================
   wpiro. Senior WordPress Developer landing page
   Vanilla CSS. No frameworks. Portable.
   ============================================================ */

:root {
  /* Palette: off-white, near-black, gray, Upwork green, secondary blue */
  --bg: #f7f6f3;
  --bg-alt: #ffffff;
  --bg-soft: #f2f5f0;
  --bg-warm: #fbfaf6;
  --ink: #14181b;
  --ink-soft: #3d454b;
  --muted: #6b7480;
  --line: #e4e2dc;
  --line-strong: #d3d0c8;
  --green: #14a800;      /* Upwork-inspired */
  --green-dark: #108a00;
  --green-tint: #eef7ea;
  --accent: #1f5f8b;     /* secondary accent (steel blue) */
  --accent-tint: #eaf1f6;
  --shadow-sm: 0 1px 2px rgba(20, 24, 27, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(20, 24, 27, 0.18);
  --shadow-lg: 0 24px 60px -24px rgba(20, 24, 27, 0.28);
  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1180px;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-top: 72px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
.top-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}
.section--tight { padding: 72px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--soft {
  background: var(--bg-soft);
  border-top: 1px solid rgba(20, 24, 27, 0.07);
  border-bottom: 1px solid rgba(20, 24, 27, 0.06);
}
.section--warm {
  background: var(--bg-warm);
  border-top: 1px solid rgba(20, 24, 27, 0.06);
  border-bottom: 1px solid rgba(20, 24, 27, 0.05);
}
.section--soft + .section--soft,
.section--warm + .section--warm,
.section--alt + .section--alt {
  border-top-color: var(--line-strong);
}

@supports (content-visibility: auto) {
  #about,
  #ai-workflow,
  #projects,
  #reviews,
  #faq,
  #contact {
    content-visibility: auto;
    contain-intrinsic-size: auto 860px;
  }

  #projects { contain-intrinsic-size: auto 760px; }
  #reviews { contain-intrinsic-size: auto 640px; }
  #contact { contain-intrinsic-size: auto 720px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--green);
}

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); }
.section-head p { margin-top: 18px; color: var(--ink-soft); font-size: 17.5px; }

.text-green { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(20,24,27,0.03); }
.btn--light { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--light:hover { border-color: var(--ink); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  background: rgba(247, 246, 243, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.admin-bar .header { top: 32px; }
.header.is-scrolled {
  background: rgba(247, 246, 243, 0.94);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
  transition: height 0.22s ease;
}
.header.is-scrolled .header__inner { height: 64px; }
.logo {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.025em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
}
.logo__mark {
  color: var(--green-dark);
  font-weight: 700;
  letter-spacing: -0.04em;
}
.logo__dot {
  color: var(--green);
  margin-left: 1px;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a,
.nav-dropdown__toggle {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 12px;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav a:hover,
.nav-dropdown__toggle:hover,
.nav-dropdown.open .nav-dropdown__toggle { color: var(--ink); background: rgba(20,24,27,0.04); }
.nav-dropdown { position: relative; }
.nav-dropdown__toggle {
  font-family: var(--font-sans);
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-dropdown__toggle svg { width: 14px; height: 14px; transition: transform 0.16s ease; }
.nav-dropdown.open .nav-dropdown__toggle svg,
.nav-dropdown:hover .nav-dropdown__toggle svg { transform: rotate(180deg); }
.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 248px;
  padding: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, visibility 0.16s ease, transform 0.16s ease;
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown.open .nav-dropdown__menu { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown__menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}
.nav-dropdown__menu a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  white-space: nowrap;
}
.header__actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  position: relative;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle__icon {
  width: 20px;
  height: 20px;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.nav-toggle__icon--close {
  position: absolute;
  opacity: 0;
  transform: scale(0.78) rotate(-45deg);
}
.nav-toggle[aria-expanded="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--open {
  opacity: 0;
  transform: scale(0.78) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--close {
  opacity: 1;
  transform: scale(1) rotate(0);
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; overflow: visible; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { font-size: clamp(34px, 4.8vw, 60px); letter-spacing: -0.02em; }
.hero__sub { margin-top: 24px; font-size: 18.5px; color: var(--ink-soft); max-width: 560px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 8px 13px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}
.badge svg { width: 15px; height: 15px; color: var(--green); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__visual { position: relative; }
.hero__photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--line);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__namecard {
  position: absolute;
  left: -18px;
  bottom: 26px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__namecard .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-tint); }
.hero__namecard strong { display: block; font-size: 15px; }
.hero__namecard span { font-size: 12.5px; color: var(--muted); }
.hero__badge-float {
  position: absolute;
  right: -74px;
  top: 26px;
  background: rgba(20, 24, 27, 0.82);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 13px 17px 12px;
  box-shadow: 0 14px 34px -18px rgba(20, 24, 27, 0.65);
  text-align: center;
  backdrop-filter: blur(12px) saturate(120%);
}
.hero__badge-float strong {
  font-family: var(--font-serif);
  font-size: 23px;
  display: block;
  color: #fff;
}
.hero__badge-float span { font-size: 11.5px; color: rgba(255, 255, 255, 0.72); letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat strong {
  display: inline-block;
  min-width: 4.8ch;
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.stat--feedback strong { color: var(--green); }
.stat--feedback strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 3.6ch;
}
.stat--feedback svg { width: 0.48em; height: 0.48em; transform: translateY(-0.14em); flex: none; }
.stat > span { display: block; margin-top: 10px; font-size: 13.5px; color: var(--muted); font-weight: 500; }

/* ---------- Service pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.pillar__num { font-family: var(--font-serif); font-size: 14px; color: var(--green); font-weight: 600; }
.pillar__icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-tint);
  border-radius: 10px;
  margin: 14px 0 18px;
}
.pillar__icon svg { width: 24px; height: 24px; color: var(--green-dark); }
.pillar h3 { font-size: 21px; }
.pillar p { margin-top: 12px; color: var(--ink-soft); font-size: 15.5px; }
.pillar a { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--ink); }
.pillar a svg { width: 15px; height: 15px; transition: transform 0.15s ease; }
.pillar a:hover svg { transform: translateX(3px); }
.ai-service-note {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) 1fr;
  gap: 18px;
  align-items: start;
  margin: -18px 0 24px;
  padding: 18px 20px;
  border: 1px solid rgba(20, 168, 0, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(238, 247, 234, 0.78), rgba(255, 255, 255, 0.86));
}
.ai-service-note strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}
.ai-service-note span {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}
.service-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.service-card {
  --card-accent: var(--green);
  --card-bg: #ffffff;
  --card-border: var(--line);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, var(--card-bg) 0%, #ffffff 64%),
    var(--bg-alt);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--card-accent);
  opacity: 0.62;
}
.service-card:nth-child(1),
.service-card:nth-child(2),
.service-card:nth-child(3) {
  grid-column: span 1;
}
.service-card:nth-child(1) { --card-accent: #6f4ab7; --card-bg: #f5f1fb; --card-border: #e4d9f4; }
.service-card:nth-child(2) { --card-accent: #0d7d64; --card-bg: #eff8f4; --card-border: #d5ece4; }
.service-card:nth-child(3) { --card-accent: #c7414d; --card-bg: #fbf1f2; --card-border: #f0d7da; }
.service-card:nth-child(4) { --card-accent: #3276b8; --card-bg: #eef5fb; --card-border: #d7e6f3; }
.service-card:nth-child(5) { --card-accent: #13a45f; --card-bg: #eff9f3; --card-border: #d6efdf; }
.service-card:nth-child(6) { --card-accent: #8b5bd6; --card-bg: #f7f2ff; --card-border: #e6daf8; }
.service-card:nth-child(7) { --card-accent: #7c3f98; --card-bg: #f8f1fa; --card-border: #ead7f0; }
.service-card:nth-child(7) {
  grid-column: span 2;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--card-accent);
  box-shadow: var(--shadow-md);
}
.service-card span {
  color: var(--card-accent);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.service-card h3 {
  margin-top: 14px;
  font-size: 20px;
}
.service-card p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 14.8px;
  line-height: 1.55;
}

/* ---------- Ad landing sections (offer blocks) ---------- */
.offer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.offer--flip .offer__grid { direction: rtl; }
.offer--flip .offer__grid > * { direction: ltr; }
.offer--visual {
  position: relative;
  overflow: hidden;
}
.offer--visual .offer__grid {
  position: relative;
  z-index: 1;
}
.offer--migration::before {
  content: "";
  position: absolute;
  right: max(18px, calc((100vw - var(--maxw)) / 2 + 18px));
  top: 86px;
  width: min(420px, 34vw);
  height: min(420px, 34vw);
  background:
    radial-gradient(circle at 30% 24%, rgba(31, 95, 139, 0.11), transparent 46%),
    radial-gradient(circle at 76% 68%, rgba(20, 168, 0, 0.12), transparent 48%),
    radial-gradient(circle at 58% 40%, rgba(103, 72, 137, 0.08), transparent 42%);
  filter: blur(22px);
  opacity: 0.85;
  pointer-events: none;
}
.offer--migration::after {
  content: none;
}
.offer h2 { font-size: clamp(26px, 3vw, 38px); }
.offer__lead {
  max-width: 700px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.64;
}
.offer__cta { margin-top: 30px; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.checklist svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 2px; }
.offer__panel {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.offer__panel h3 { font-family: var(--font-sans); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.service-thumbnail {
  margin: -30px -30px 28px;
}
.service-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius) var(--radius) 0 0;
}
.migration-map,
.service-map {
  position: relative;
  margin-top: 30px;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid rgba(20, 168, 0, 0.16);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(247, 246, 243, 0.92), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at 14% 18%, rgba(31, 95, 139, 0.22), transparent 40%),
    radial-gradient(circle at 82% 70%, rgba(20, 168, 0, 0.2), transparent 44%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.service-map--fixes {
  border-color: rgba(185, 28, 28, 0.18);
  background:
    linear-gradient(135deg, rgba(247, 246, 243, 0.92), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at 16% 20%, rgba(180, 83, 9, 0.23), transparent 40%),
    radial-gradient(circle at 82% 72%, rgba(185, 28, 28, 0.2), transparent 44%);
}
.service-map--support {
  border-color: rgba(31, 95, 139, 0.17);
  background:
    linear-gradient(135deg, rgba(247, 246, 243, 0.92), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at 16% 20%, rgba(31, 95, 139, 0.22), transparent 40%),
    radial-gradient(circle at 82% 72%, rgba(20, 168, 0, 0.17), transparent 44%);
}
.service-map--speed {
  border-color: rgba(20, 168, 0, 0.18);
  background:
    linear-gradient(135deg, rgba(247, 246, 243, 0.92), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at 16% 20%, rgba(20, 168, 0, 0.24), transparent 40%),
    radial-gradient(circle at 82% 72%, rgba(31, 95, 139, 0.2), transparent 44%);
}
.service-map--dev {
  border-color: rgba(103, 72, 137, 0.18);
  background:
    linear-gradient(135deg, rgba(247, 246, 243, 0.92), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at 16% 20%, rgba(103, 72, 137, 0.22), transparent 40%),
    radial-gradient(circle at 82% 72%, rgba(31, 95, 139, 0.2), transparent 44%);
}
.service-map--figma {
  border-color: rgba(31, 95, 139, 0.17);
  background:
    linear-gradient(135deg, rgba(247, 246, 243, 0.92), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at 16% 20%, rgba(31, 95, 139, 0.2), transparent 40%),
    radial-gradient(circle at 82% 72%, rgba(20, 168, 0, 0.16), transparent 44%);
}
.service-map--woo {
  border-color: rgba(103, 72, 137, 0.2);
  background:
    linear-gradient(135deg, rgba(247, 246, 243, 0.92), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at 16% 20%, rgba(103, 72, 137, 0.25), transparent 40%),
    radial-gradient(circle at 82% 72%, rgba(20, 168, 0, 0.18), transparent 44%);
}
.migration-map__watermark {
  position: absolute;
  right: 24px;
  bottom: -24px;
  font-family: var(--font-serif);
  font-size: 180px;
  font-weight: 600;
  line-height: 0.85;
  color: rgba(20, 24, 27, 0.075);
  transform: rotate(-8deg);
}
.service-map--dev .migration-map__watermark { right: 10px; bottom: -8px; font-size: 112px; }
.service-map--woo .migration-map__watermark { right: 18px; bottom: -6px; font-size: 96px; }
.service-map--speed .migration-map__watermark { right: 20px; bottom: -10px; font-size: 126px; }
.service-map--fixes .migration-map__watermark { color: rgba(185, 28, 28, 0.085); }
.service-map--support .migration-map__watermark,
.service-map--figma .migration-map__watermark { color: rgba(31, 95, 139, 0.085); }
.service-map--speed .migration-map__watermark { color: rgba(20, 168, 0, 0.09); }
.service-map--dev .migration-map__watermark,
.service-map--woo .migration-map__watermark { color: rgba(103, 72, 137, 0.09); }
.migration-map__route {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  align-items: center;
  gap: 12px;
  padding: 34px 28px 0;
}
.migration-map__node {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(20, 24, 27, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.migration-map__node--source { color: #4e5360; }
.migration-map__node--target {
  color: var(--green-dark);
  border-color: rgba(20, 168, 0, 0.2);
  background: rgba(238, 247, 234, 0.82);
}
.service-map--fixes .migration-map__node--target { color: #9f2d18; border-color: rgba(185, 28, 28, 0.18); background: rgba(255, 244, 237, 0.82); }
.service-map--dev .migration-map__node--target,
.service-map--woo .migration-map__node--target { color: #61407f; border-color: rgba(103, 72, 137, 0.18); background: rgba(247, 242, 250, 0.82); }
.service-map--figma .migration-map__node--target,
.service-map--support .migration-map__node--target,
.service-map--speed .migration-map__node--target { color: var(--green-dark); border-color: rgba(20, 168, 0, 0.2); background: rgba(238, 247, 234, 0.82); }
.pagespeed-proof {
  margin: 30px 0 0;
  background: transparent;
}
.pagespeed-proof img {
  display: block;
  width: min(100%, 560px);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  background: transparent;
}
.pagespeed-proof figcaption {
  display: grid;
  gap: 4px;
  padding: 16px 18px 18px;
  background: linear-gradient(180deg, #fff, rgba(238, 247, 234, 0.46));
}
.pagespeed-proof figcaption strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}
.pagespeed-proof figcaption span {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.45;
}
.pagespeed-proof figcaption a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}
.pagespeed-proof figcaption a:hover {
  text-decoration: underline;
}
.migration-map__line {
  position: relative;
  height: 1px;
  background: linear-gradient(90deg, rgba(31, 95, 139, 0.25), rgba(20, 168, 0, 0.38));
}
.migration-map__line::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 1px solid rgba(20, 168, 0, 0.55);
  border-right: 1px solid rgba(20, 168, 0, 0.55);
  transform: translateY(-50%) rotate(45deg);
}
.migration-map__steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 46px 22px 22px;
}
.migration-map__steps span {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(20, 24, 27, 0.075);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
  color: rgba(20, 24, 27, 0.56);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* mini FAQ inside sections */
.mini-faq { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 22px; }
.mini-faq details { border-bottom: 1px solid var(--line); overflow: hidden; transition: height 0.28s ease; }
.mini-faq details:last-child { border-bottom: none; }
.mini-faq summary {
  cursor: pointer; list-style: none;
  padding: 14px 0; font-weight: 600; font-size: 15.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.mini-faq summary::-webkit-details-marker { display: none; }
.mini-faq summary::after { content: "+"; color: var(--green); font-size: 20px; line-height: 1; }
.mini-faq details[open] summary::after { content: "-"; }
.mini-faq details.is-closing summary::after { content: "+"; }
.mini-faq p { padding: 0 0 16px; color: var(--ink-soft); font-size: 15px; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.about__photo { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); aspect-ratio: 5/6; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about p { margin-top: 20px; color: var(--ink-soft); font-size: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tag {
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  background: var(--bg); border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 100px;
}
.section--alt .tag,
.section--soft .tag,
.section--warm .tag {
  background: rgba(255, 255, 255, 0.72);
}

/* signature */
.signature { margin-top: 28px; font-family: var(--font-serif); font-size: 26px; color: var(--ink); font-style: italic; }

/* ---------- AI workflow ---------- */
.ai__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ai-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ai-point {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: 10px; padding: 16px 18px; font-size: 15px; font-weight: 500;
}
.ai-point svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.ai__note { margin-top: 22px; font-size: 14px; color: var(--muted); }

/* ---------- Portfolio carousel ---------- */
.carousel { position: relative; }
.carousel__track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 22px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}
.carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.carousel__track::-webkit-scrollbar { display: none; }
.project {
  flex: 0 0 clamp(300px, 42%, 480px);
  scroll-snap-align: start;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.project:hover { box-shadow: var(--shadow-md); }
.project__img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--line); }
.project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; pointer-events: none; }
.project:hover .project__img img { transform: scale(1.04); }
.project__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,24,27,0.78), rgba(20,24,27,0) 55%);
  opacity: 0; transition: opacity 0.25s ease;
  display: flex; align-items: flex-end; padding: 18px;
}
.project:hover .project__overlay { opacity: 1; }
.project__overlay span { color: #fff; font-size: 14px; font-weight: 500; }
.project__body { padding: 22px 24px 26px; }
.project__cat { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-dark); }
.project__body h3 { font-family: var(--font-sans); font-weight: 700; font-size: 18px; margin-top: 8px; }
.project__body p { margin-top: 8px; color: var(--ink-soft); font-size: 14.5px; }

.carousel__nav { display: flex; gap: 10px; margin-top: 10px; }
.carousel__btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.carousel__btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }

/* ---------- Reviews ---------- */
.reviews__badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.rbadge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-tint); color: var(--green-dark);
  border: 1px solid #cbe8c3;
  font-size: 13.5px; font-weight: 600; padding: 8px 14px; border-radius: 100px;
}
.rbadge svg { width: 15px; height: 15px; }
.review {
  flex: 0 0 clamp(300px, 40%, 440px);
  scroll-snap-align: start;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px 26px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.stars { display: flex; gap: 2px; color: var(--green); margin-bottom: 16px; }
.stars svg { width: 18px; height: 18px; }
.review__text { font-size: 16px; color: var(--ink); line-height: 1.55; flex: 1; }
.review__meta { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.review__meta strong { font-size: 15px; }
.review__meta span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-alt);
  margin-bottom: 12px;
  overflow: hidden;
  transition: height 0.28s ease;
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: 20px 24px; font-weight: 600; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg); transition: transform 0.2s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details.is-closing summary::after { transform: rotate(45deg); }
.faq p { padding: 0 24px 22px; color: var(--ink-soft); font-size: 16px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact__options { display: grid; gap: 12px; margin-top: 28px; }
.copt {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: 10px; padding: 16px 18px;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.copt:hover { border-color: var(--line-strong); transform: translateX(3px); box-shadow: var(--shadow-sm); }
.copt__ic { width: 40px; height: 40px; border-radius: 9px; background: var(--bg); display: flex; align-items: center; justify-content: center; flex: none; }
.copt__ic svg { width: 20px; height: 20px; color: var(--ink); }
.copt strong { font-size: 15px; display: block; }
.copt span { font-size: 13px; color: var(--muted); }

.form {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-card .eyebrow { margin-bottom: 0; }
.contact-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
}
.contact-card p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}
.contact-card__actions {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}
.contact-card__actions .btn {
  width: 100%;
  justify-content: center;
}
.contact-card .form__note {
  margin-top: 0;
  line-height: 1.45;
}
.request-form { margin: 0; }
.request-form__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.request-form__submit {
  min-height: 48px;
  margin-top: 4px;
}
.request-form__submit svg {
  flex: 0 0 auto;
}
.form__message {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.5;
}
.form__message--success {
  border: 1px solid rgba(20, 168, 0, 0.24);
  background: var(--green-tint);
  color: var(--ink);
}
.form__message--error {
  border: 1px solid rgba(200, 59, 59, 0.24);
  background: #fffafa;
  color: #8f2929;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--green); background: #fff;
  box-shadow: 0 0 0 3px var(--green-tint);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.file-drop {
  border: 1.5px dashed var(--line-strong);
  border-radius: 9px; padding: 18px; text-align: center;
  font-size: 14px; color: var(--muted); cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.file-drop:hover { border-color: var(--green); background: var(--green-tint); }
.file-drop input { display: none; }
.form__note { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
.form__success { display: none; text-align: center; padding: 28px 10px; }
.form__success.show { display: block; }
.form__success svg { width: 52px; height: 52px; color: var(--green); margin: 0 auto 16px; }
.form__success h3 { font-family: var(--font-sans); font-size: 20px; }
.form__success p { margin-top: 8px; color: var(--ink-soft); }

/* ---------- Legal pages ---------- */
.legal-page {
  min-height: 70vh;
}
.legal-page__wrap {
  max-width: var(--maxw);
}
.legal-page h1 {
  font-size: clamp(38px, 5vw, 62px);
}
.legal-page__updated {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
}
.legal-page__content {
  margin-top: 42px;
  padding: 42px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.legal-page__content h2 {
  margin-top: 34px;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}
.legal-page__content h2:first-child {
  margin-top: 0;
}
.legal-page__content h3 {
  margin-top: 24px;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
}
.legal-page__content p,
.legal-page__content li {
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.72;
}
.legal-page__content p {
  margin-top: 14px;
}
.legal-page__content ul {
  margin-top: 16px;
  padding-left: 20px;
  list-style: disc;
}
.legal-page__content a {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}
.legal-page__content a:hover {
  text-decoration: underline;
}

/* ---------- 404 ---------- */
.error-page {
  min-height: 68vh;
  display: flex;
  align-items: center;
}
.error-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: 64px;
  align-items: center;
}
.error-page h1 {
  margin-top: 18px;
  font-size: clamp(46px, 6vw, 84px);
}
.error-page p {
  margin-top: 22px;
  max-width: 680px;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.65;
}
.error-page__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.error-page__panel {
  padding: 34px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.error-page__panel strong {
  display: block;
  margin-bottom: 22px;
  font-size: 20px;
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .logo { color: #fff; }
.footer .logo__mark,
.footer .logo__dot { color: var(--green); }
.footer__tagline { margin-top: 16px; color: rgba(255,255,255,0.6); font-size: 15px; max-width: 340px; }
.footer h4 { font-family: var(--font-sans); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 18px; }
.footer__links li { margin-bottom: 12px; }
.footer__links a { color: rgba(255,255,255,0.82); font-size: 15px; transition: color 0.15s ease; display: inline-flex; align-items: center; gap: 9px; }
.footer__links a:hover { color: var(--green); }
.footer__links svg { width: 16px; height: 16px; }
.footer__bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13.5px; color: rgba(255,255,255,0.55);
}
.footer__disclaimer {
  flex: 0 0 100%;
  max-width: none;
  margin: 18px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.32);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}
.footer__legal {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
}
.footer__legal a {
  color: rgba(255,255,255,0.74);
  transition: color 0.15s ease;
}
.footer__legal a:hover {
  color: var(--green);
}

/* ---------- Floating contact widget ---------- */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 60; }
.fab__toggle {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff;
  border: none; cursor: pointer;
  padding: 14px 20px; border-radius: 100px;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-sans); font-size: 15px; font-weight: 600;
  transition: transform 0.15s ease, background 0.2s ease;
}
.fab__toggle:hover { transform: translateY(-2px); background: #000; }
.fab__toggle .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(20,168,0,0.25); }
.fab__toggle-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fab__toggle svg { width: 18px; height: 18px; }
.fab__panel {
  position: absolute; right: 0; bottom: calc(100% + 14px);
  width: 320px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(0.9) translateY(10px);
  opacity: 0; visibility: hidden;
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
}
.fab.open .fab__panel { transform: scale(1) translateY(0); opacity: 1; visibility: visible; }
.fab__head { background: var(--ink); color: #fff; padding: 20px; }
.fab__head strong { font-family: var(--font-serif); font-size: 18px; display: flex; align-items: center; gap: 8px; }
.fab__head p { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 6px; }
.fab__body { padding: 14px; display: grid; gap: 8px; }
.fab__row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg);
  font-size: 14.5px; font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease;
  cursor: pointer;
}
.fab__row:hover { border-color: var(--green); background: var(--green-tint); }
.fab__row svg { width: 18px; height: 18px; color: var(--ink); flex: none; }
.fab__row.primary { background: var(--green); color: #fff; border-color: var(--green); }
.fab__row.primary svg { color: #fff; }
.fab__row.primary:hover { background: var(--green-dark); }
.fab__foot { padding: 12px 18px 16px; font-size: 12px; color: var(--muted); text-align: center; border-top: 1px solid var(--line); }
.fab__close { position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,0.12); border: none; width: 28px; height: 28px; border-radius: 50%; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.fab__close svg { width: 15px; height: 15px; }

.back-to-top {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 58;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { border-color: var(--green); color: var(--green); }
.back-to-top svg { width: 19px; height: 19px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 1; transform: none; }
.js-reveal-ready .reveal[data-reveal-pending] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.js-reveal-ready .reveal[data-reveal-pending].in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { max-width: 440px; }
  .about__grid, .ai__grid, .offer__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .offer--flip .offer__grid { direction: ltr; }
  .offer--migration::before { top: 120px; right: 18px; width: 240px; height: 240px; }
  .service-overview { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(7) { grid-column: span 2; }
  .about__photo { max-width: 420px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1040px) {
  .nav, .header__actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

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

@media (max-width: 600px) {
  .admin-bar .header { top: 0; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  body {
    padding-top: 64px;
    font-size: 16px;
  }
  .header__inner { height: 64px; }
  .header.is-scrolled .header__inner { height: 58px; }
  .hero {
    padding-top: 30px;
    padding-bottom: 56px;
  }
  .hero__grid { gap: 28px; }
  .hero h1 {
    line-height: 1.06;
    min-height: 0;
    text-wrap: auto;
  }
  .hero__sub {
    line-height: 1.55;
    min-height: 0;
  }
  .hero__badges { min-height: 0; }
  .hero__cta { min-height: 0; }
  .offer__grid {
    gap: 30px;
  }
  .offer__grid > .offer__cta {
    margin-top: -6px;
  }
  .offer__grid > .mini-faq {
    margin-top: -4px;
  }
  .hero__visual {
    width: 100%;
    max-width: 340px;
    min-height: 0;
    margin: 0 auto;
  }
  .hero__photo {
    min-height: 0;
    aspect-ratio: 4 / 4.95;
  }
  .section { padding: 68px 0; }
  .nav, .header__actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__actions { gap: 8px; }
  .pillars { grid-template-columns: 1fr; }
  .ai-service-note {
    grid-template-columns: 1fr;
    margin-top: -8px;
  }
  .service-overview { grid-template-columns: 1fr; }
  .service-card,
  .service-card:nth-child(7) {
    grid-column: auto;
    min-height: 0;
  }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { min-height: 128px; }
  .stat strong { min-height: 1em; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .checklist { grid-template-columns: 1fr; }
  .ai-points { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; }
  .legal-page__content {
    margin-top: 30px;
    padding: 26px 20px;
  }
  .legal-page__content p,
  .legal-page__content li {
    font-size: 15.5px;
  }
  .error-page__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .error-page p {
    font-size: 17px;
  }
  .error-page__panel {
    padding: 24px 20px;
  }
  .migration-map,
  .service-map { min-height: 210px; }
  .migration-map__route { grid-template-columns: 1fr; gap: 10px; padding: 24px 20px 0; }
  .migration-map__line {
    width: 1px;
    height: 38px;
    justify-self: center;
    background: linear-gradient(180deg, rgba(31, 95, 139, 0.25), rgba(20, 168, 0, 0.38));
  }
  .migration-map__line::after { right: auto; left: 50%; top: auto; bottom: -1px; transform: translateX(-50%) rotate(135deg); }
  .migration-map__steps { grid-template-columns: 1fr 1fr; margin-top: 24px; }
  .footer__grid { grid-template-columns: 1fr; }
  .fab {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    max-width: calc(100vw - 24px);
  }
  .fab__toggle {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-content: center;
    padding-left: 14px;
    padding-right: 14px;
  }
  .fab__toggle .dot { flex: 0 0 auto; }
  .fab__panel { width: auto; left: 0; right: 0; }
  .back-to-top { left: auto; right: 16px; bottom: 78px; width: 42px; height: 42px; }
  .hero__namecard { left: 0; }
  .hero__visual { padding-top: 58px; }
  .hero__badge-float {
    top: -8px;
    right: 0;
  }
  .pagespeed-proof img {
    width: 100%;
  }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 65;
  background: var(--bg);
  padding: 88px 24px 32px;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s ease, visibility 0.3s ease;
  display: flex; flex-direction: column; gap: 4px;
}
.mobile-menu.open {
  transform: none;
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu a { font-family: var(--font-serif); font-size: 26px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 24px; }
.mobile-menu__label {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.mobile-menu__label:first-child { margin-top: 0; }
.mobile-menu a.mobile-menu__sub {
  font-family: var(--font-sans);
  font-size: 18px;
  padding: 9px 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ---------- Conversion and trust refinement ---------- */
.hero {
  padding: 48px 0 60px;
}
.hero__grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.78fr);
  gap: 64px;
}
.hero__content {
  max-width: 670px;
}
.hero h1 {
  max-width: 690px;
  font-size: 56px;
  line-height: 1.04;
  letter-spacing: 0;
}
.hero__sub {
  max-width: 620px;
  margin-top: 18px;
  font-size: 17.5px;
  line-height: 1.62;
}
.hero__badges {
  gap: 8px;
  margin-top: 22px;
}
.badge {
  padding: 7px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: none;
  font-size: 12.5px;
}
.hero__cta {
  margin-top: 24px;
}
.hero__microcopy {
  margin-top: 11px;
  color: var(--muted);
  font-size: 13px;
}
.hero__visual {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
}
.hero__photo {
  border-radius: 12px;
  box-shadow: 0 22px 50px -28px rgba(20, 24, 27, 0.3);
}
.hero__namecard {
  left: -14px;
  bottom: 22px;
  border-radius: 8px;
  padding: 12px 15px;
  box-shadow: 0 12px 26px -18px rgba(20, 24, 27, 0.38);
}
.hero__badge-float {
  right: -28px;
  top: 18px;
  padding: 11px 15px 10px;
  border-color: rgba(20, 24, 27, 0.12);
  border-radius: 8px;
  background: rgba(247, 246, 243, 0.9);
  color: var(--ink);
  box-shadow: 0 16px 34px -22px rgba(20, 24, 27, 0.42);
  backdrop-filter: blur(10px);
}
.hero__badge-float strong {
  color: var(--ink);
  font-size: 22px;
}
.hero__badge-float span {
  color: var(--muted);
  font-size: 10.5px;
}

.trust-intro {
  padding: 82px 0 74px;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.78fr);
  gap: 80px;
  align-items: center;
}
.trust-intro__copy h2 {
  max-width: 650px;
  font-size: 42px;
  line-height: 1.08;
}
.trust-intro__copy > p {
  max-width: 640px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.68;
}
.trust-assurances {
  display: grid;
  gap: 13px;
  margin-top: 28px;
}
.trust-assurances li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 11px;
  align-items: center;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 650;
}
.trust-assurances li > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-tint);
}
.trust-quote {
  margin: 0;
  padding: 30px 30px 27px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 6px;
  background: var(--bg);
  box-shadow: 0 18px 42px -32px rgba(20, 24, 27, 0.38);
}
.trust-quote__stars {
  display: flex;
  gap: 3px;
  color: var(--green);
  font-size: 15px;
}
.trust-quote > p {
  margin-top: 16px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.48;
}
.trust-quote footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.trust-quote footer strong,
.trust-quote footer span {
  display: block;
}
.trust-quote footer strong {
  font-size: 14px;
}
.trust-quote footer span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
}
.trust-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 62px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.trust-process li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  min-width: 0;
  padding: 0 28px;
  border-right: 1px solid var(--line);
}
.trust-process li:first-child {
  padding-left: 0;
}
.trust-process li:last-child {
  padding-right: 0;
  border-right: 0;
}
.trust-process li > span {
  color: var(--green-dark);
  font-family: var(--font-serif);
  font-size: 17px;
}
.trust-process strong {
  display: block;
  font-size: 15px;
}
.trust-process p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.ai-service-note {
  grid-template-columns: minmax(210px, 0.32fr) 1fr;
  margin: -14px 0 30px;
  padding: 3px 0 3px 18px;
  border: 0;
  border-left: 2px solid rgba(20, 168, 0, 0.44);
  border-radius: 0;
  background: transparent;
}
.service-card {
  min-height: 205px;
  padding: 24px;
  border-radius: 8px;
  box-shadow: none;
}
.service-card::before {
  height: 2px;
  opacity: 0.48;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -26px rgba(20, 24, 27, 0.42);
}
.service-card h3 {
  margin-top: 18px;
  font-size: 19px;
}
.service-card p {
  font-size: 14.5px;
  line-height: 1.6;
}
.offer__lead {
  font-size: 16.5px;
  line-height: 1.68;
}
.offer__panel {
  border-radius: 8px;
  box-shadow: 0 14px 34px -30px rgba(20, 24, 27, 0.38);
}
.service-thumbnail img {
  border-radius: 8px 8px 0 0;
}

.about__grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.82fr);
  gap: 84px;
  align-items: start;
}
.about__intro h2 {
  max-width: 650px;
  font-size: 44px;
  line-height: 1.08;
}
.about__intro > p {
  max-width: 680px;
  font-size: 17px;
  line-height: 1.7;
}
.about__identity {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.about__identity strong {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
}
.about__identity span {
  color: var(--muted);
  font-size: 13.5px;
}
.about__expectations {
  padding-left: 44px;
  border-left: 1px solid var(--line-strong);
}
.about__label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.working-principles {
  margin-top: 14px;
}
.working-principles li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.working-principles li:last-child {
  border-bottom: 0;
}
.working-principles li > span {
  color: var(--green-dark);
  font-family: var(--font-serif);
  font-size: 15px;
}
.working-principles strong {
  display: block;
  font-size: 15px;
}
.working-principles p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.58;
}

.copt,
.form {
  border-radius: 8px;
}
.form {
  box-shadow: 0 16px 38px -30px rgba(20, 24, 27, 0.42);
}
.form__intro {
  margin-bottom: 26px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.form__intro > span {
  display: block;
  color: var(--green-dark);
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.form__intro h3 {
  margin-top: 8px;
  font-size: 27px;
}
.form__intro p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}
.form__intro + .form__message {
  margin-top: -4px;
}
.field label {
  font-weight: 700;
}

@media (max-width: 1160px) {
  .hero h1 {
    font-size: 50px;
  }
  .hero__grid {
    gap: 44px;
  }
  .hero__badge-float {
    right: -10px;
  }
}

@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__content {
    max-width: 760px;
  }
  .hero__visual {
    margin-left: 0;
  }
  .trust-intro__grid,
  .about__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .trust-quote {
    max-width: 650px;
  }
  .about__expectations {
    max-width: 720px;
    padding-left: 0;
    padding-top: 32px;
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 26px;
    padding-bottom: 48px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero__sub {
    font-size: 16.5px;
  }
  .hero__cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero__cta .btn {
    width: 100%;
  }
  .hero__microcopy {
    text-align: center;
  }
  .hero__visual {
    padding-top: 44px;
  }
  .hero__badge-float {
    top: 0;
    right: 8px;
  }
  .trust-intro {
    padding: 62px 0 58px;
  }
  .trust-intro__grid {
    gap: 36px;
  }
  .trust-intro__copy h2,
  .about__intro h2 {
    font-size: 34px;
  }
  .trust-intro__copy > p,
  .about__intro > p {
    font-size: 16px;
  }
  .trust-quote {
    padding: 24px 22px 22px;
  }
  .trust-quote > p {
    font-size: 19px;
  }
  .trust-process {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 42px;
    padding-top: 0;
    border-top: 1px solid var(--line);
  }
  .trust-process li,
  .trust-process li:first-child,
  .trust-process li:last-child {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .trust-process li:last-child {
    border-bottom: 0;
  }
  .ai-service-note {
    grid-template-columns: 1fr;
    gap: 7px;
    padding-left: 14px;
  }
  .about__grid {
    gap: 34px;
  }
  .about__expectations {
    padding-top: 26px;
  }
  .working-principles li {
    grid-template-columns: 32px 1fr;
  }
  .form__intro {
    margin-bottom: 22px;
    padding-bottom: 20px;
  }
  .form__intro h3 {
    font-size: 24px;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 38px;
  }
  .hero__badges {
    display: grid;
    grid-template-columns: 1fr;
  }
  .badge {
    width: max-content;
    max-width: 100%;
  }
}

