/* FlowMule — Pebbles-inspired soft GTM aesthetic (local assets) */
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #12141a;
  --ink-soft: #2a2f3a;
  --muted: #5c6470;
  --muted-2: #8b93a0;
  --line: rgba(18, 20, 26, 0.08);
  --bg: #f6f8fc;
  --bg-soft: #eef3fa;
  --white: #ffffff;
  --sky: #5b8def;
  --sky-soft: #a8c4ff;
  --mint: #6fd3c2;
  --gold: #f0c14b;
  --gold-deep: #e0a820;
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 10px 40px rgba(30, 50, 90, 0.08);
  --shadow-lg: 0 24px 80px rgba(30, 50, 90, 0.12);
  --header-h: 68px;
  --max: 1140px;
  --font: "Instrument Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 20px;
  --radius-sm: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient mesh like Pebbles soft ribbons */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 55% at 15% 5%, rgba(168, 196, 255, 0.55), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(111, 211, 194, 0.35), transparent 50%),
    radial-gradient(ellipse 60% 45% at 70% 70%, rgba(240, 193, 75, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 85%, rgba(91, 141, 239, 0.2), transparent 50%),
    linear-gradient(180deg, #f8fafd 0%, #f3f6fb 40%, #eef2f8 100%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: -10% -5%;
  z-index: -1;
  background:
    radial-gradient(closest-side at 30% 40%, rgba(255, 255, 255, 0.5), transparent 70%),
    radial-gradient(closest-side at 75% 55%, rgba(255, 255, 255, 0.35), transparent 65%);
  filter: blur(40px);
  opacity: 0.7;
  pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-2%, 3%) scale(1.04); }
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-mark {
  width: 30px;
  height: 30px;
}

.logo-name {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.logo-slogan {
  display: none;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 1px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 26px;
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-contacts {
  display: none;
  align-items: center;
  gap: 2px;
  margin-right: 4px;
  padding-right: 10px;
  border-right: 1px solid var(--line);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px;
  border: 1px solid rgba(22, 24, 29, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 600;
}

.lang-current {
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  line-height: 1;
  cursor: default;
  pointer-events: none;
}

.lang-alt {
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--muted);
  line-height: 1;
  transition: color 0.2s, background 0.2s;
}

.lang-alt:hover {
  color: var(--ink);
  background: rgba(22, 24, 29, 0.05);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s, color 0.25s;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(18, 20, 26, 0.18);
}

.btn-primary:hover {
  background: var(--ink-soft);
}

.btn-lime,
.btn-accent {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 8px 28px rgba(240, 193, 75, 0.35);
}

.btn-lime:hover,
.btn-accent:hover {
  background: var(--gold-deep);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  border: 1px solid rgba(18, 20, 26, 0.08);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: var(--white);
}

.btn-header {
  display: none;
  padding: 9px 16px;
  font-size: 0.8125rem;
}

.menu-toggle {
  width: 40px;
  height: 40px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: 0.25s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px 20px 24px;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  padding: 14px 4px;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

.nav-mobile .btn {
  margin-top: 12px;
  width: 100%;
}

.mobile-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 4px;
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: 48px 0 0;
  overflow: hidden;
}

.hero-ribbons {
  position: absolute;
  inset: -8% -10% auto;
  height: 70%;
  pointer-events: none;
  opacity: 0.9;
}

.hero-copy {
  position: relative;
  text-align: center;
  max-width: 860px;
  margin: 0 auto 44px;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}

.hero-brand i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--mint));
  font-style: normal;
  box-shadow: 0 0 0 3px rgba(91, 141, 239, 0.2);
}

.hero h1 {
  font-size: clamp(2.35rem, 7vw, 4.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.048em;
  color: var(--ink);
  margin-bottom: 18px;
}

.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 36em;
  margin: 0 auto 28px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
}

.hero-visual-wrap {
  position: relative;
  margin-top: 8px;
  padding-bottom: 8px;
}

.product-frame {
  position: relative;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px 24px 0 0;
  padding: 18px 18px 0;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.product-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(168, 196, 255, 0.35), rgba(240, 193, 75, 0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.product-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
}

.product-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e5e7eb;
}

.product-chrome span:nth-child(1) { background: #ff7b72; }
.product-chrome span:nth-child(2) { background: #ffd56a; }
.product-chrome span:nth-child(3) { background: #6fdc8c; }

.product-title {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--muted-2);
  font-weight: 500;
}

.product-body {
  display: grid;
  gap: 12px;
  min-height: 280px;
}

.product-sidebar {
  display: none;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 16px 16px 0 0;
  padding: 16px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.product-sidebar h3 {
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-sidebar li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.product-sidebar li strong {
  color: var(--sky);
  font-weight: 700;
}

.product-feed {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 16px 16px 0 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feed-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(30, 50, 90, 0.04);
  animation: feed-in 0.7s var(--ease) both;
}

.feed-item:nth-child(2) { animation-delay: 0.1s; }
.feed-item:nth-child(3) { animation-delay: 0.2s; }
.feed-item:nth-child(4) { animation-delay: 0.3s; }

@keyframes feed-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.feed-avatar {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--ink);
}

.feed-avatar.de { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.feed-avatar.pl { background: linear-gradient(135deg, #ccfbf1, #99f6e4); }
.feed-avatar.ae { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.feed-avatar.br { background: linear-gradient(135deg, #e0e7ff, #c7d2fe); }

.feed-item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feed-item em {
  display: block;
  font-style: normal;
  font-size: 0.75rem;
  color: var(--muted-2);
  margin-top: 2px;
}

.feed-status {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(91, 141, 239, 0.12);
  color: #3b6fd4;
  white-space: nowrap;
}

.feed-status.warm {
  background: rgba(240, 193, 75, 0.2);
  color: #9a7400;
}

/* —— Metrics —— */
.metrics {
  padding: 64px 0 24px;
}

.metrics-head {
  text-align: center;
  margin-bottom: 36px;
}

.metrics-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.metrics-head p {
  color: var(--muted);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.metric-item {
  text-align: left;
  padding: 24px 22px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.metric-value {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(120deg, var(--ink) 40%, #3b6fd4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metric-label {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.45;
}

/* —— Sections —— */
.section {
  padding: 88px 0;
}

.section-soft {
  position: relative;
}

.section-panel {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px;
  padding: 40px 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.section-head {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #3b6fd4;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(91, 141, 239, 0.1);
}

.section-head h2 {
  font-size: clamp(1.75rem, 4.2vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin-bottom: 14px;
}

.section-head p {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.65;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-row {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(30, 50, 90, 0.05);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.feature-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature-row h3 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-row h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--mint));
  flex-shrink: 0;
}

.feature-row p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  padding-left: 20px;
}

/* —— Process —— */
.process-track {
  display: grid;
  gap: 12px;
}

.process-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(30, 50, 90, 0.05);
}

.process-num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(91, 141, 239, 0.15), rgba(111, 211, 194, 0.2));
  font-size: 0.8125rem;
  font-weight: 700;
  color: #3b6fd4;
}

.process-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.process-item p {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* —— Industries —— */
.industry-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.industry-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 18px rgba(30, 50, 90, 0.04);
  transition: 0.2s;
}

.industry-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.industry-chip img {
  width: 28px;
  height: 28px;
}

/* —— Quote / Proof —— */
.quote-shell {
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.quote-shell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--gold), var(--sky));
}

.quote-block blockquote {
  font-size: clamp(1.2rem, 2.8vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.4;
  margin-bottom: 32px;
  color: var(--ink-soft);
}

.quote-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.quote-stats strong {
  display: block;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #3b6fd4;
  margin-bottom: 4px;
}

.quote-stats span {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* —— About —— */
.about-grid p {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 40em;
  margin-bottom: 14px;
}

/* —— CTA / Form —— */
.cta-band {
  padding: 72px 0 96px;
}

.form-shell {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.form-shell h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 10px;
  text-align: center;
}

.form-shell > p {
  text-align: center;
  color: var(--muted);
  margin-bottom: 24px;
}

.contact-direct {
  margin: 0 auto 28px;
  text-align: center;
}

.contact-direct > p {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.contact-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: 0.2s;
}

.contact-chip:hover {
  border-color: rgba(91, 141, 239, 0.4);
  transform: translateY(-1px);
}

.contact-chip svg {
  width: 16px;
  height: 16px;
  color: var(--ink-soft);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--muted);
  transition: 0.2s;
}

.contact-icon:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.footer-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.form-group .optional {
  font-weight: 400;
  color: var(--muted-2);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.form-group input,
.form-group textarea {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  outline: none;
  transition: 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(91, 141, 239, 0.55);
  box-shadow: 0 0 0 4px rgba(91, 141, 239, 0.12);
}

.form-shell .btn {
  width: 100%;
  margin-top: 6px;
  padding: 15px 20px;
}

.form-note {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--muted-2);
  text-align: center;
}

/* —— Footer —— */
.site-footer {
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 280px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted-2);
}

.footer-bottom .footer-contacts {
  order: 3;
  width: 100%;
}

/* —— Modal / Toast —— */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(18, 20, 26, 0.4);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s var(--ease);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  width: min(100%, 520px);
  margin: 48px auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 22px;
  padding: 32px 24px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px);
  transition: transform 0.3s var(--ease);
}

.modal-overlay.open .modal {
  transform: none;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-soft);
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.25rem;
}

.modal h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  padding-right: 36px;
}

.modal > p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 22px;
}

body.modal-open {
  overflow: hidden;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 300;
  background: var(--ink);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s var(--ease);
  max-width: min(90vw, 400px);
  text-align: center;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.toast.success {
  box-shadow: inset 3px 0 0 var(--gold);
}

.toast.error {
  box-shadow: inset 3px 0 0 #ef4444;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* —— Responsive —— */
@media (min-width: 640px) {
  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-group.full {
    grid-column: 1 / -1;
  }

  .product-body {
    grid-template-columns: 200px 1fr;
    min-height: 320px;
  }

  .product-sidebar {
    display: block;
  }

  .footer-bottom .footer-contacts {
    order: 0;
    width: auto;
  }

  .form-shell {
    padding: 48px 40px;
  }

  .section-panel {
    padding: 48px 40px;
  }
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .btn-header {
    display: inline-flex;
  }

  .header-contacts {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .logo-slogan {
    display: block;
  }

  .feature-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-links {
    gap: 48px;
  }

  .hero {
    padding-top: 64px;
  }

  .quote-shell {
    padding: 48px 48px;
  }

  .modal {
    padding: 36px 32px;
  }
}

@media (min-width: 960px) {
  .process-track {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-frame {
    padding: 22px 22px 0;
    border-radius: 28px 28px 0 0;
  }

  .product-body {
    min-height: 360px;
  }
}
