:root {
  --color-primary: #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-primary-soft: #eff6ff;
  --color-accent: #ec5931;
  --color-accent-soft: #fff1ec;
  --color-ink: #0b1220;
  --color-text: #46546a;
  --color-muted: #68768a;
  --color-surface: #f5f7fa;
  --color-surface-raised: #ffffff;
  --color-border: #dde3ea;
  --color-border-strong: #cbd5e1;
  --color-error: #b42318;
  --color-success: #166534;
  --font-display: "Avenir Next", "SF Pro Display", "Segoe UI", sans-serif;
  --font-body: Inter, "SF Pro Text", "Segoe UI", sans-serif;
  --container: 1200px;
  --header-height: 76px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-card: 0 18px 50px rgba(28, 45, 72, 0.07);
  --shadow-focus: 0 0 0 4px rgba(37, 99, 235, 0.2);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --z-header: 30;
  --z-menu: 20;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--color-ink);
  background: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  text-wrap: balance;
}

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
}

::selection {
  color: #fff;
  background: var(--color-primary);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--color-ink);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 120px 0;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.section-muted {
  background: var(--color-surface);
}

.site-header {
  position: sticky;
  z-index: var(--z-header);
  top: 0;
  min-height: var(--header-height);
  background: #fff;
  border-bottom: 1px solid rgba(221, 227, 234, 0.86);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: var(--header-height);
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--color-ink);
  line-height: 1;
  text-decoration: none;
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
  width: 170px;
  height: 34px;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.desktop-nav a,
.mobile-menu a {
  position: relative;
  color: #3f4d61;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease-out);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  color: var(--color-primary);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  color: #fff;
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms var(--ease-out);
}

.button:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2);
  transform: translateY(-1px);
}

.button:active {
  box-shadow: none;
  transform: translateY(0);
}

.button:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.button-secondary {
  color: var(--color-ink);
  background: #fff;
  border-color: var(--color-border-strong);
  box-shadow: none;
}

.button-secondary:hover {
  color: var(--color-primary);
  background: var(--color-primary-soft);
  border-color: #93b4f6;
  box-shadow: none;
}

.button-small {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--color-ink);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  cursor: pointer;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu {
  position: absolute;
  z-index: var(--z-menu);
  top: var(--header-height);
  right: 0;
  left: 0;
  display: grid;
  gap: 4px;
  padding: 16px 24px 24px;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 18px 40px rgba(22, 34, 52, 0.1);
}

.mobile-menu a {
  min-height: 48px;
  padding: 12px 4px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 118px;
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -130px;
  bottom: -230px;
  width: 460px;
  height: 460px;
  content: "";
  background: var(--color-primary-soft);
  border: 1px solid #dbeafe;
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: clamp(56px, 7vw, 100px);
}

.hero-copy {
  max-width: 700px;
}

.eyebrow,
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--color-accent);
  border-radius: 2px;
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 28px;
  font-size: clamp(3.25rem, 6vw, 5.65rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero h1 span {
  color: var(--color-primary);
}

.hero-intro {
  max-width: 630px;
  margin-bottom: 36px;
  color: var(--color-text);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-note {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.hero-note span {
  padding-inline: 7px;
  color: #a5b0be;
}

.hero-visual {
  position: relative;
  width: 100%;
  margin: 0;
}

.hero-photo::before {
  position: absolute;
  z-index: -1;
  top: -18px;
  right: -18px;
  width: 42%;
  height: 42%;
  content: "";
  background: var(--color-primary-soft);
  border: 1px solid #bfdbfe;
  border-radius: 24px;
}

.hero-photo picture,
.about-photo picture {
  display: block;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.hero-photo picture {
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(26, 45, 74, 0.14);
}

.hero-photo img,
.about-photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-photo img {
  aspect-ratio: 3 / 2;
}

.photo-caption {
  position: absolute;
  right: -20px;
  bottom: 24px;
  display: flex;
  max-width: 250px;
  align-items: center;
  gap: 13px;
  padding: 14px 17px;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 13px;
  box-shadow: 0 16px 40px rgba(22, 34, 52, 0.14);
  font-size: 12px;
  line-height: 1.4;
}

.photo-caption strong {
  display: block;
  color: var(--color-ink);
  font-size: 13px;
}

.photo-caption-mark {
  width: 11px;
  height: 34px;
  flex: 0 0 auto;
  background: var(--color-accent);
  border-radius: 5px;
}

.section-label::after {
  width: 5px;
  height: 5px;
  content: "";
  background: var(--color-accent);
  border-radius: 50%;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading .section-label {
  justify-content: center;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 4vw, 3.65rem);
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.section-heading > p:last-child,
.about-copy > p:last-child,
.contact-copy > p {
  margin-bottom: 0;
  color: var(--color-text);
  font-size: 1.08rem;
}

.section-heading-left {
  margin: 0;
  text-align: left;
}

.section-heading-left .section-label {
  justify-content: flex-start;
}

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

.service-card {
  min-height: 270px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms var(--ease-out);
}

.service-card:hover {
  border-color: #aac2ed;
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.icon-box {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 48px;
  place-items: center;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  border-radius: 13px;
}

.icon-box svg,
.advantage-mark svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3,
.advantage h3,
.process-list h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.service-card p,
.advantage p,
.process-list p {
  margin: 0;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.65;
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(64px, 9vw, 130px);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
}

.advantage {
  display: grid;
  min-height: 218px;
  grid-template-columns: auto 1fr;
  align-content: start;
  gap: 18px;
  padding: 28px;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.advantage-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  border-radius: 50%;
}

.advantage-mark svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.section-process {
  color: #fff;
  background: var(--color-ink);
}

.section-process .section-label,
.section-label-light {
  color: #60a5fa;
}

.section-process .section-heading > p:last-child {
  color: #aab7c7;
}

.process-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list::before {
  position: absolute;
  top: 24px;
  right: 4%;
  left: 4%;
  height: 1px;
  content: "";
  background: #344156;
}

.process-list li {
  position: relative;
  z-index: 1;
}

.step-number {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 38px;
  place-items: center;
  color: #fff;
  background: var(--color-primary);
  border: 5px solid var(--color-ink);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.process-list h3 {
  color: #fff;
}

.process-list p {
  color: #aab7c7;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(70px, 10vw, 150px);
}

.about-photo {
  position: relative;
  margin: 0;
}

.about-photo picture {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.about-photo img {
  aspect-ratio: 4 / 3;
}

.about-photo figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 10px 14px;
  color: #fff;
  background: var(--color-ink);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.about-copy {
  max-width: 670px;
}

.about-copy .section-label {
  margin-bottom: 24px;
}

.about-copy > p:last-child {
  font-size: 1.12rem;
  line-height: 1.8;
}

.section-contact {
  padding: 112px 0;
  color: #fff;
  background: #111b2c;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.72fr);
  align-items: start;
  gap: clamp(64px, 10vw, 150px);
}

.contact-copy h2 {
  max-width: 650px;
  color: #fff;
}

.contact-copy > p {
  max-width: 560px;
  color: #b9c4d3;
}

.company-details {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px 40px;
  margin-top: 62px;
}

.company-details div:first-child {
  grid-column: 1 / -1;
}

.company-details span {
  display: block;
  margin-bottom: 7px;
  color: #8593a6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.company-details strong,
.company-details address,
.company-details a {
  color: #fff;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.65;
  text-decoration: none;
}

.company-details a {
  text-decoration: underline;
  text-decoration-color: #5a6a80;
  text-underline-offset: 5px;
}

.company-details a:hover {
  text-decoration-color: #60a5fa;
}

.contact-form {
  padding: 38px;
  color: var(--color-ink);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}

.form-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.form-heading h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.form-heading p,
.form-note {
  margin: 0;
  color: var(--color-muted);
  font-size: 12px;
}

.field {
  margin-bottom: 22px;
}

.field label {
  display: inline-block;
  margin-bottom: 8px;
  color: #26354a;
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  color: var(--color-ink);
  background: #fff;
  border: 1px solid var(--color-border-strong);
  border-radius: 9px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.field textarea {
  min-height: 148px;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-color: #9aa9bc;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-focus);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  background: #fff8f7;
  border-color: var(--color-error);
}

.field-error {
  display: block;
  min-height: 19px;
  margin-top: 5px;
  color: var(--color-error);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.form-submit {
  width: 100%;
}

.button-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 650ms linear infinite;
}

.button-spinner[hidden] {
  display: none;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--color-success);
  font-size: 13px;
  font-weight: 650;
  text-align: center;
}

.site-footer {
  padding: 44px 0;
  color: #8d9aac;
  background: #0b1220;
  border-top: 1px solid #263245;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.75fr;
  align-items: end;
  gap: 48px;
}

.footer-brand {
  margin-bottom: 16px;
  color: #fff;
}

.site-footer p,
.site-footer address {
  margin: 0;
  font-size: 13px;
  font-style: normal;
  line-height: 1.7;
}

.footer-contact {
  text-align: right;
}

.footer-contact a {
  display: inline-block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.js-ready .hero [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
}

.js-ready .hero [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-ready .hero-copy[data-reveal] {
  transition-delay: 80ms;
}

.js-ready .hero-visual[data-reveal] {
  transition-delay: 180ms;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
    gap: 44px;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 6.6vw, 4.6rem);
  }

  .why-layout,
  .about-layout,
  .contact-layout {
    gap: 64px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(390px, 0.78fr);
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

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

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero {
    padding: 72px 0 96px;
  }

  .hero-grid,
  .why-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    width: min(100%, 640px);
    margin-inline: auto;
  }

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

  .section-heading-left {
    max-width: 700px;
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 56px;
  }

  .process-list::before {
    display: none;
  }

  .step-number {
    margin-bottom: 24px;
    border-width: 4px;
  }

  .about-photo {
    width: min(100%, 520px);
  }

  .about-copy {
    max-width: 760px;
  }

  .contact-layout {
    gap: 56px;
  }

  .company-details {
    max-width: 600px;
  }

  .contact-form {
    width: min(100%, 680px);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 88px 0;
  }

  .brand-logo {
    width: 146px;
    height: auto;
  }

  .hero {
    padding: 60px 0 78px;
  }

  .hero::after {
    right: -210px;
    bottom: -250px;
  }

  .hero-grid {
    gap: 48px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 13.2vw, 3.7rem);
    letter-spacing: -0.06em;
  }

  .hero-intro {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-note {
    line-height: 1.8;
  }

  .section-heading {
    margin-bottom: 40px;
    text-align: left;
  }

  .section-heading .section-label {
    justify-content: flex-start;
  }

  .section-heading h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: clamp(2.05rem, 10vw, 2.8rem);
  }

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

  .service-card {
    min-height: 0;
    padding: 26px;
  }

  .icon-box {
    margin-bottom: 36px;
  }

  .advantages-grid {
    border-left: 0;
  }

  .advantage {
    min-height: 0;
    padding: 26px 0;
    border-right: 0;
  }

  .process-list {
    gap: 0;
  }

  .process-list li {
    position: relative;
    min-height: 186px;
    padding: 0 0 42px 74px;
  }

  .process-list li:not(:last-child)::before {
    position: absolute;
    top: 48px;
    bottom: 0;
    left: 23px;
    width: 1px;
    content: "";
    background: #344156;
  }

  .step-number {
    position: absolute;
    top: 0;
    left: 0;
  }

  .about-layout {
    gap: 48px;
  }

  .about-photo picture {
    border-radius: 22px;
  }

  .photo-caption {
    right: 12px;
    bottom: 12px;
  }

  .about-photo figcaption {
    right: 12px;
    bottom: 12px;
  }

  .section-contact {
    padding: 86px 0;
  }

  .company-details {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 46px;
  }

  .company-details div:first-child {
    grid-column: auto;
  }

  .contact-form {
    padding: 26px 20px;
    border-radius: 16px;
  }

  .form-heading {
    display: block;
  }

  .form-heading h3 {
    margin-bottom: 5px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 30px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js-ready .hero [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (forced-colors: active) {
  .button,
  .service-card,
  .contact-form,
  .about-cell {
    border: 1px solid CanvasText;
  }
}
