:root {
  --bg: #0f172a;
  --surface: #111a2d;
  --field: #202b3e;
  --border: #253047;
  --border-bright: #465167;
  --text: #fff;
  --muted: #cbd5e1;
  --emerald: #34d399;
  --indigo: #818cf8;
  color-scheme: dark;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.55; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(100% - 2rem, 1216px); margin-inline: auto; }
.clean-list { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.site-header { border-bottom: 1px solid rgba(37, 48, 71, 0.72); }
.header-inner { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.identity { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; white-space: nowrap; }
.logo { width: 36px; height: 36px; stroke: none; flex: 0 0 auto; }
.identity-name { font-weight: 700; }
.identity-badge, .pill, .number-pill, .eyebrow { border: 1px solid var(--border-bright); border-radius: 999px; background: rgba(255, 255, 255, 0.07); }
.identity-badge { padding: 0.22rem 0.7rem; font-size: 0.72rem; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a, .footer-nav a { text-decoration: none; font-size: 0.9rem; transition: color 150ms ease; }
.nav a:hover, .nav a:focus-visible, .footer-nav a:hover, .footer-nav a:focus-visible { color: var(--indigo); }

.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem; padding: 0.65rem 1rem; border: 1px solid transparent; border-radius: 16px; text-decoration: none; font-weight: 600; font-size: 0.9rem; line-height: 1.2; cursor: pointer; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, .copy-number:focus-visible, input:focus-visible, textarea:focus-visible, .submit-button:focus-visible { outline: 3px solid rgba(129, 140, 248, 0.7); outline-offset: 2px; }
.button--light { background: #fff; color: #0f172a; }
.button--light:hover { background: #eef2ff; }
.button--dark { border-color: var(--border-bright); background: rgba(255, 255, 255, 0.07); color: #fff; }
.button--dark:hover { border-color: #718096; background: rgba(255, 255, 255, 0.11); }
.button--small { min-height: 38px; padding: 0.5rem 1rem; border-radius: 15px; }

.hero { padding: 112px 0 92px; }
.hero .container { display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.22rem 0.65rem; font-size: 0.75rem; font-weight: 600; }
.eyebrow svg { width: 0.95rem; height: 0.95rem; }
.hero h1 { max-width: 1140px; margin: 1.45rem 0 0; font-size: clamp(2.8rem, 4.6vw, 4.2rem); line-height: 1.08; letter-spacing: -0.045em; }
.hero-lead { margin: 1.25rem 0 0; font-size: 1.14rem; color: #f1f5f9; }
.hero-actions { margin-top: 1.8rem; display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; }
.copy-number { border: 0; padding: 0.35rem 0; background: none; color: #fff; text-decoration: underline; cursor: pointer; }
.hero-points { width: 100%; margin-top: 1.8rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.hero-points li, .check-list li, .about-list li { display: flex; align-items: flex-start; gap: 0.55rem; }
.hero-points svg, .check-list svg, .about-list svg { flex: 0 0 auto; color: var(--emerald); }

.section { padding: 92px 0; }
.section-heading { margin-bottom: 2.2rem; }
.section h2 { margin: 0; font-size: clamp(1.65rem, 2.6vw, 2.05rem); line-height: 1.2; letter-spacing: -0.025em; }
.section-heading p { margin: 0.65rem 0 0; font-size: 1.08rem; }
.card { border: 1px solid var(--border); border-radius: 16px; background: rgba(15, 23, 42, 0.46); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.service-card { min-height: 212px; padding: 1.5rem; transition: transform 180ms ease, border-color 180ms ease, background 180ms ease; }
.service-card:hover { transform: translateY(-3px); border-color: #3f4c65; background: rgba(17, 26, 45, 0.9); }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-top > svg { width: 1.35rem; height: 1.35rem; }
.pill { display: inline-flex; padding: 0.18rem 0.65rem; font-size: 0.75rem; }
.service-card h3, .process-card h3, .credentials h3, .brief-card h3 { margin: 1rem 0 0; font-size: 1.15rem; font-weight: 500; }
.check-list { margin-top: 1.35rem; display: grid; gap: 0.65rem; font-size: 0.9rem; }
.check-list svg { width: 1rem; height: 1rem; margin-top: 0.12rem; }

.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.process-card { min-height: 176px; padding: 1.5rem; }
.number-pill { display: inline-flex; padding: 0.17rem 0.55rem; font-size: 0.75rem; }
.process-card p { margin: 1.55rem 0 0; font-size: 0.9rem; line-height: 1.45; }

.about-grid { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(300px, 1fr); gap: 4rem; align-items: start; }
.about-copy > p { max-width: 800px; margin: 1rem 0 0; font-size: 1.07rem; line-height: 1.7; }
.about-list { margin-top: 1.8rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 2rem; font-size: 0.9rem; }
.about-list svg { width: 1rem; height: 1rem; margin-top: 0.12rem; }
.credentials { padding: 1.6rem; }
.credentials h3, .brief-card h3 { margin-top: 0; font-weight: 700; }
.credentials ul { margin-top: 1.4rem; display: grid; gap: 0.85rem; font-size: 0.9rem; }
.credentials li { display: flex; align-items: center; gap: 0.75rem; }

.contact { padding-bottom: 120px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(430px, 0.92fr); gap: 5rem; align-items: center; }
.contact-copy p { margin: 0.75rem 0 0; font-size: 1.08rem; }
.contact-actions { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.brief-card { padding: 1.6rem; }
.brief-card form { margin-top: 1.5rem; display: grid; gap: 0.8rem; }
.brief-card label { display: block; }
.brief-card input, .brief-card textarea { width: 100%; border: 1px solid #3a465c; border-radius: 12px; background: var(--field); color: #fff; padding: 0.9rem 1rem; }
.brief-card input::placeholder, .brief-card textarea::placeholder { color: #cbd5e1; opacity: 0.8; }
.brief-card textarea { min-height: 112px; resize: vertical; }
.submit-button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem; border: 0; border-radius: 16px; background: #fff; color: #0f172a; font-weight: 600; cursor: pointer; }
.submit-button:hover { background: #eef2ff; }
.submit-button svg { width: 1rem; height: 1rem; }
.brief-card form p { margin: 0.15rem 0 0; font-size: 0.75rem; }

.site-footer { padding: 2.8rem 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-identity { display: flex; align-items: center; gap: 1rem; }
.footer-identity p { margin: 0; font-size: 0.86rem; }
.footer-nav { display: flex; align-items: center; gap: 1.6rem; }
.footer-nav a { display: inline-flex; align-items: center; gap: 0.55rem; }

.toast { position: fixed; z-index: 50; left: 50%; bottom: 1.5rem; translate: -50% 0; padding: 0.7rem 1rem; border: 1px solid var(--border-bright); border-radius: 999px; background: #fff; color: #0f172a; box-shadow: 0 15px 40px rgba(0,0,0,.35); font-size: 0.85rem; font-weight: 700; }
.toast[hidden] { display: none; }

@media (max-width: 960px) {
  .identity-badge, .nav { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .credentials { max-width: 600px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { width: min(100% - 2rem, 1216px); }
  .header-inner { min-height: 66px; }
  .header-inner { gap: 0.7rem; }
  .identity { gap: 0.55rem; }
  .identity-name { font-size: 0.92rem; }
  .logo { width: 32px; height: 32px; }
  .button--small { min-height: 38px; padding-inline: 0.75rem; font-size: 0.82rem; }
  .hero { padding: 80px 0 60px; }
  .hero h1 { margin-top: 1.25rem; font-size: clamp(2.35rem, 11.2vw, 3.25rem); line-height: 1.18; }
  .hero-lead { font-size: 1.05rem; line-height: 1.65; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { flex: 1 1 160px; }
  .copy-number { width: 100%; text-align: left; }
  .hero-points { grid-template-columns: 1fr; gap: 0.75rem; }
  .section { padding: 74px 0; }
  .section-heading { margin-bottom: 2rem; }
  .service-grid, .process-grid { gap: 1.4rem; }
  .service-card { min-height: 0; padding: 1.55rem; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { min-height: 0; padding: 1.55rem; }
  .process-card p { margin-top: 1.5rem; }
  .about-list { grid-template-columns: 1fr; }
  .about-copy > p { font-size: 1.05rem; }
  .contact { padding-bottom: 90px; }
  .contact-actions { display: grid; grid-template-columns: 1.25fr 0.9fr; }
  .contact-actions .button { padding-inline: 0.8rem; }
  .brief-card { padding: 1.5rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 380px) {
  .identity-name { font-size: 0.88rem; }
  .button--small { padding-inline: 0.7rem; }
  .contact-actions { grid-template-columns: 1fr; }
}

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