:root {
  --bg: #f4f7f8;
  --surface: #ffffff;
  --surface-soft: #e9f1f3;
  --text: #111d2e;
  --muted: #526172;
  --line: #d6e0e5;
  --accent: #0b7f8b;
  --accent-dark: #075c68;
  --accent-soft: #d9f2f4;
  --ink: #071426;
  --ink-soft: #111f33;
  --shadow: 0 24px 70px rgba(7, 20, 38, 0.12);
  --glow: 0 20px 48px rgba(11, 127, 139, 0.24);
  --radius: 8px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f9fbfc 0%, var(--bg) 26%, #eef3f5 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(var(--max-width), calc(100% - 40px));
  margin: 18px auto 0;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(214, 224, 229, 0.92);
  border-radius: var(--radius);
  box-shadow: 0 18px 52px rgba(7, 20, 38, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(145deg, var(--ink), #15253d);
  color: white;
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  font-size: 0.93rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.header-cta {
  padding: 0 16px;
  color: white;
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(7, 20, 38, 0.18);
}

.button {
  padding: 0 20px;
  border: 1px solid transparent;
  cursor: pointer;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: var(--glow);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--line);
  box-shadow: 0 12px 30px rgba(7, 20, 38, 0.06);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.section-shell {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  gap: 58px;
  align-items: center;
  min-height: calc(84vh - 88px);
  padding: 50px 0 66px;
}

main {
  scroll-margin-top: 118px;
}

.hero-content h1,
.section-intro h2,
.split-section h2,
.audit-section h2,
.process-section h2,
.contact-section h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

.hero-content,
.hero-visual {
  min-width: 0;
}

.hero-content h1 {
  max-width: 760px;
  font-size: clamp(3.15rem, 5.2vw, 5.1rem);
  line-height: 0.98;
}

.hero-content p {
  max-width: 660px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.7vw, 1.22rem);
  line-height: 1.65;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-visual {
  position: relative;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(233, 241, 243, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.flow-card {
  min-width: 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(214, 224, 229, 0.92);
  border-radius: var(--radius);
  overflow-wrap: break-word;
}

.flow-card-large {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.flow-label,
.service-card span,
.process-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.flow-card strong,
.service-card h3,
.process-grid h3,
.use-case strong {
  color: var(--ink);
}

.flow-status {
  padding: 8px 10px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.flow-line {
  width: 2px;
  height: 38px;
  margin: 0 auto;
  background: linear-gradient(var(--line), var(--accent));
}

.flow-grid {
  display: grid;
  gap: 14px;
}

.flow-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  place-items: center;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 800;
}

.flow-card p,
.service-card p,
.process-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.accent-card {
  background: linear-gradient(145deg, var(--ink), #15263d);
}

.accent-card strong,
.accent-card p {
  color: white;
}

.accent-card .flow-icon {
  color: white;
  background: rgba(255, 255, 255, 0.12);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(260px, 0.45fr);
  gap: 40px;
  padding: 88px 0 30px;
}

.section-intro.compact {
  display: block;
  max-width: 760px;
  padding-top: 0;
}

.section-intro h2,
.split-section h2,
.audit-section h2,
.process-section h2,
.contact-section h2 {
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.04;
}

.section-intro p,
.split-section p,
.audit-section p,
.contact-section p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  grid-column: span 2;
}

.service-card:nth-child(4),
.service-card:nth-child(5) {
  grid-column: span 3;
}

.service-card,
.process-grid article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  box-shadow: 0 18px 50px rgba(7, 20, 38, 0.055);
}

.service-card h3,
.process-grid h3 {
  margin: 0;
  font-size: 1.12rem;
}

.service-benefits {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 18px 0 0;
  list-style: none;
}

.service-benefits li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.service-benefits li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--accent);
  border-radius: 999px;
  transform: translateY(-50%);
}

.services-cta {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.7fr);
  gap: 70px;
  align-items: start;
  padding: 108px 0;
}

.use-case-list {
  display: grid;
  gap: 12px;
}

.use-case {
  display: grid;
  gap: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.use-case span {
  color: var(--muted);
  line-height: 1.6;
}

.audit-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.62fr);
  gap: 48px;
  align-items: center;
  padding: 48px;
  color: white;
  background:
    linear-gradient(135deg, #071426 0%, #13243a 48%, #075c68 100%);
  border-radius: var(--radius);
  box-shadow: 0 28px 76px rgba(7, 20, 38, 0.16), var(--glow);
}

.audit-copy h2,
.audit-copy p {
  color: white;
}

.audit-copy p {
  opacity: 0.82;
}

.audit-panel {
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.audit-panel ul {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.audit-panel li {
  position: relative;
  padding-left: 22px;
  line-height: 1.5;
}

.audit-panel li::before {
  position: absolute;
  left: 0;
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  background: #7ee1da;
  border-radius: 50%;
}

.process-section {
  padding: 104px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.7fr);
  gap: 70px;
  align-items: start;
  padding: 0 0 96px;
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--accent-dark);
  font-weight: 800;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(20, 37, 56, 0.08);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--text);
  background: #fbfdfe;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(13, 124, 134, 0.12);
}

.contact-form .hidden-field {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-form .hidden-field input {
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.legal-page {
  padding: 64px 0 96px;
}

.legal-hero {
  padding: 42px 0 28px;
}

.legal-hero h1 {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--ink);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.legal-hero p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.legal-content {
  max-width: 860px;
  padding: 34px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(20, 37, 56, 0.08);
}

.legal-content h2 {
  margin: 34px 0 12px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.15;
}

.legal-content h2:first-of-type {
  margin-top: 26px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-content p {
  margin: 0 0 16px;
}

.legal-content ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal-content a {
  color: var(--accent-dark);
  font-weight: 800;
}

.legal-note {
  margin-top: 30px;
  padding: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 50px;
  align-items: start;
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto 28px;
  padding: 32px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.3;
  text-align: center;
}

.footer-brand {
  display: grid;
  gap: 16px;
}

.footer-brand p {
  max-width: 360px;
  margin: 0;
  line-height: 1.6;
}

.footer-email,
.footer-links a {
  color: var(--ink);
  font-weight: 700;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-links div {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-links h2 {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.4;
  transition: color 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-email:hover,
.footer-email:focus-visible {
  color: var(--accent-dark);
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.is-open {
    position: fixed;
    inset: 86px 20px auto;
    display: grid;
    gap: 6px;
    justify-content: stretch;
    padding: 16px;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 30px 90px rgba(7, 20, 38, 0.2);
    backdrop-filter: blur(18px);
  }

  .site-nav.is-open a {
    padding: 13px 14px;
    border-radius: 7px;
  }

  .site-nav.is-open a:hover,
  .site-nav.is-open a:focus-visible {
    background: var(--surface-soft);
  }

  .hero,
  .split-section,
  .audit-section,
  .contact-section,
  .section-intro {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 78px;
  }

  .hero-visual {
    max-width: 640px;
  }

  .hero-content h1 {
    max-width: 780px;
    font-size: clamp(3rem, 8vw, 5rem);
  }

  .process-grid,
  .site-footer {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: auto;
  }

  .split-section,
  .contact-section {
    gap: 40px;
  }

  .audit-section {
    padding: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 641px) and (max-width: 1100px) {
  .section-shell,
  .site-header,
  .site-footer {
    width: min(100% - 48px, var(--max-width));
  }

  .hero-visual,
  .contact-form {
    justify-self: stretch;
  }

  .section-intro,
  .split-section,
  .process-section {
    padding-top: 84px;
    padding-bottom: 64px;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-footer {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .footer-links div:last-child {
    grid-column: 1 / -1;
  }

  .footer-links div {
    gap: 7px;
  }

  .footer-links a {
    font-size: 0.95rem;
    line-height: 1.35;
  }
}

@media (max-width: 640px) {
  .site-header,
  .section-shell,
  .site-footer {
    width: min(100% - 28px, var(--max-width));
  }

  .brand {
    font-size: 0.92rem;
  }

  .hero {
    gap: 26px;
    padding-top: 38px;
    padding-bottom: 48px;
  }

  .hero-content h1 {
    font-size: clamp(2.1rem, 10.8vw, 2.82rem);
    line-height: 1;
    overflow-wrap: break-word;
  }

  .hero-content p {
    margin-top: 22px;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-content p,
  .section-intro p,
  .split-section p,
  .audit-section p,
  .contact-section p,
  .legal-content p,
  .legal-content li {
    font-size: 1rem;
    line-height: 1.62;
  }

  .legal-page {
    padding: 44px 0 72px;
  }

  .legal-hero {
    padding-top: 20px;
  }

  .legal-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.25rem);
  }

  .legal-content {
    padding: 22px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-visual,
  .audit-section,
  .contact-form {
    padding: 20px;
  }

  .flow-card-large {
    align-items: flex-start;
    flex-direction: column;
  }

  .flow-status {
    white-space: normal;
  }

  .services-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .section-intro,
  .split-section,
  .process-section {
    padding-top: 58px;
    padding-bottom: 42px;
  }

  .audit-section {
    margin-top: 20px;
  }

  .contact-section {
    padding-bottom: 72px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    margin-bottom: 20px;
  }
}

@media (max-width: 380px) {
  .brand {
    gap: 8px;
    font-size: 0.86rem;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 11vw, 2.55rem);
  }

  .flow-card,
  .service-card,
  .process-grid article,
  .use-case,
  .contact-form {
    padding: 18px;
  }
}
