:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-muted: #eef2f7;
  --text: #232831;
  --text-soft: #5d6674;
  --line: rgba(35, 40, 49, 0.12);
  --charcoal: #2f333c;
  --blue: #1d7df2;
  --blue-deep: #0f68d7;
  --shadow: 0 22px 60px rgba(24, 33, 49, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(29, 125, 242, 0.08), transparent 28%),
    linear-gradient(180deg, #fbfcfe 0%, var(--bg) 100%);
}

body::before {
  content: "Q";
  position: fixed;
  top: 10rem;
  right: -10rem;
  font-family: Futura, "Avenir Next Condensed", "Arial Narrow", sans-serif;
  font-size: min(54vw, 48rem);
  line-height: 1;
  color: rgba(47, 51, 60, 0.05);
  pointer-events: none;
  z-index: 0;
}

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

.page-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--content-width));
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
}

.site-header,
.hero,
.trust-band,
.services,
.about,
.process,
.contact,
.site-footer {
  position: relative;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  max-width: none;
  animation: brandFadeIn 900ms ease-out both;
}

.brand-logo {
  display: block;
  width: auto;
  height: 3.2rem;
  max-width: min(72vw, 30rem);
  transform-origin: left center;
  transition:
    transform 220ms ease,
    filter 220ms ease,
    opacity 220ms ease;
}

.brand:hover .brand-logo,
.brand:focus-visible .brand-logo {
  transform: scale(1.045);
  filter: drop-shadow(0 10px 24px rgba(29, 125, 242, 0.18));
  opacity: 0.96;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: var(--text-soft);
  font-size: 0.96rem;
}

.site-nav a {
  position: relative;
  padding-bottom: 0.2rem;
  transition:
    transform 180ms ease,
    color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.site-nav a:hover,
.site-nav a:focus-visible {
  transform: scale(1.06);
  color: var(--charcoal);
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 2rem;
  align-items: stretch;
  padding: 1rem 0 2rem;
}

.hero::before,
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 42%;
  height: 0.9rem;
  background: var(--charcoal);
}

.hero::before {
  top: -0.25rem;
}

.site-footer::before {
  top: -1.3rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Futura, "Avenir Next Condensed", "Arial Narrow", sans-serif;
  letter-spacing: -0.03em;
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.95;
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.02;
  max-width: 15ch;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.1;
}

.hero-text,
.about p,
.contact p,
.service-card p,
.process-step p,
.panel-copy,
.site-footer p {
  color: var(--text-soft);
  line-height: 1.7;
}

.hero-text {
  max-width: 58ch;
  font-size: 1.06rem;
  margin: 1.4rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  box-shadow: 0 18px 30px rgba(29, 125, 242, 0.22);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points li {
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(29, 125, 242, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--charcoal);
  font-size: 0.95rem;
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.hero-card,
.contact-card,
.service-card,
.process-step {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.6rem;
}

.panel-label {
  margin: 0 0 0.4rem;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-value {
  margin: 0;
  font-family: Futura, "Avenir Next Condensed", "Arial Narrow", sans-serif;
  font-size: 2rem;
}

.panel-copy {
  margin: 1rem 0 0;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 1.5rem 0 4.5rem;
  padding: 1px;
  border-radius: 20px;
  background: rgba(47, 51, 60, 0.12);
  overflow: hidden;
}

.trust-band p {
  margin: 0;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.82);
  text-align: center;
  color: var(--charcoal);
  font-weight: 700;
}

.services,
.pricing,
.about,
.process,
.contact {
  padding: 0 0 4.8rem;
}

.section-heading {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
}

.service-grid,
.process-grid {
  display: grid;
  gap: 1.2rem;
}

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

.service-card {
  padding: 1.5rem;
}

.service-card::before {
  content: "";
  display: block;
  width: 3.3rem;
  height: 0.3rem;
  border-radius: 999px;
  background: var(--blue);
  margin-bottom: 1rem;
}

.service-card p,
.process-step p {
  margin: 0.9rem 0 0;
}

.about {
  display: block;
}

.about-copy p {
  max-width: 58ch;
}

.pricing-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.pricing-card {
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 247, 250, 0.98)),
    rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.pricing-card h3 {
  margin-top: 0.35rem;
}

.pricing-card p:last-child {
  margin: 0.9rem 0 0;
  color: var(--text-soft);
  line-height: 1.7;
}

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

.process-step {
  padding: 1.6rem;
}

.step-number {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.contact {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-card {
  padding: 1.6rem;
}

.contact-card ul {
  margin: 0 0 1.4rem;
  padding-left: 1.1rem;
  color: var(--text-soft);
  line-height: 1.8;
}

.contact-address {
  margin: 0 0 1.4rem;
  color: var(--text-soft);
  line-height: 1.75;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.2rem 0 1rem;
  border-top: 1px solid rgba(47, 51, 60, 0.08);
}

.site-footer p {
  margin: 0;
  font-size: 0.94rem;
}

@keyframes brandFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand {
    animation: none;
  }

  .brand-logo {
    transition: none;
  }

  .site-nav a {
    transition: none;
  }

  .brand:hover .brand-logo,
  .brand:focus-visible .brand-logo {
    transform: none;
    filter: none;
    opacity: 1;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero,
  .about,
  .contact,
  .pricing-layout,
  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .hero::before,
  .site-footer::before {
    right: 22%;
  }

  .trust-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body::before {
    top: 15rem;
    right: -6rem;
    font-size: 24rem;
  }

  .page-shell {
    width: min(calc(100% - 1.25rem), var(--content-width));
  }

  .site-header {
    padding-bottom: 1.2rem;
  }

  .brand {
    max-width: none;
  }

  .brand-logo {
    height: 2.45rem;
    max-width: 78vw;
  }

  h1 {
    max-width: none;
  }

  .hero-actions,
  .hero-points {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-card,
  .contact-card,
  .service-card,
  .process-step {
    border-radius: 22px;
  }


  .site-footer {
    padding-top: 1.6rem;
  }
}
