:root {
  --bg: #f5f8fd;
  --bg-soft: #e9f0fa;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #17263b;
  --text-soft: #51627b;
  --line: #d9e3f1;
  --brand: #0f3c87;
  --brand-deep: #0a2b61;
  --accent: #c91f2e;
  --accent-soft: #f7d7dc;
  --shadow: 0 24px 48px rgba(14, 44, 98, 0.08);
  --radius: 24px;
  --radius-small: 16px;
  --container: 1160px;
  --hero-image: none;
  --hero-image-position: center center;
  --hero-image-size: cover;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7.5rem;
}

body {
  margin: 0;
  font-family: "Atkinson Hyperlegible Next", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201, 31, 46, 0.08), transparent 26%),
    radial-gradient(circle at right 18%, rgba(15, 60, 135, 0.08), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f3f7fd 100%);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-deep);
  z-index: 100;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 1rem;
}

.site-shell {
  min-height: 100vh;
}

main > section,
.site-footer {
  scroll-margin-top: 7.5rem;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.topbar {
  background: var(--brand-deep);
  color: #f8fbfc;
  font-size: 1rem;
}

.topbar__inner,
.site-header__inner,
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar__inner {
  padding: 0.9rem 0;
}

.topbar__service {
  margin: 0;
}

.topbar__phone {
  font-weight: 700;
  font-size: 1.15rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(32, 48, 58, 0.08);
}

.site-header__inner {
  padding: 1.15rem 0;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand__logo {
  width: min(100%, 18rem);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 600;
  flex-wrap: nowrap;
}

.site-nav a {
  color: var(--text-soft);
  white-space: nowrap;
}

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

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: white;
  color: var(--brand-deep);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-weight: 700;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 4.25rem 0 3rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.94) 42%, rgba(255, 255, 255, 0.82) 100%),
    var(--hero-image);
  background-position:
    center center,
    var(--hero-image-position);
  background-size:
    cover,
    var(--hero-image-size);
  background-repeat: no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at left top, rgba(201, 31, 46, 0.12), transparent 28%),
    radial-gradient(circle at right 30%, rgba(15, 60, 135, 0.14), transparent 24%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 1.75rem;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(48px) scale(0.985);
  filter: blur(10px);
  transition:
    opacity 1100ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1100ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 1100ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.hero__content,
.hero-card__panel,
.contact-card,
.feature-card,
.process-card,
.service-card,
.faq-list details,
.trust-strip article {
  border: 1px solid rgba(32, 48, 58, 0.08);
  box-shadow: var(--shadow);
}

.hero__content {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 251, 255, 0.94));
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2rem, 3vw, 3rem);
  position: relative;
  overflow: hidden;
}

.hero__content::after {
  content: "";
  position: absolute;
  inset: auto -2rem -2rem auto;
  width: 14rem;
  height: 14rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(201, 31, 46, 0.12), transparent 65%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}

.hero h1,
.section-heading h2,
.contact-card h2 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.35rem, 5vw, 4.45rem);
}

.hero__lede,
.section-heading p,
.contact-card p,
.feature-card p,
.process-card p,
.service-card p,
.faq-list p,
.trust-strip p,
.hero-card__note,
.hero-card__list dd {
  color: var(--text-soft);
}

.hero__lede {
  margin: 1.15rem 0 0;
  max-width: 39rem;
  font-size: 1.18rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  margin: 1rem 0 0;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(201, 31, 46, 0.1);
  border: 1px solid rgba(201, 31, 46, 0.18);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero__actions,
.contact-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.8rem 1.35rem;
  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 {
  color: white;
  background: linear-gradient(145deg, var(--brand), var(--brand-deep));
}

.button--primary:hover,
.button--primary:focus-visible {
  background: linear-gradient(145deg, #12479e, #0c3271);
}

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

.hero__highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.hero__highlights li {
  padding: 1rem;
  border-radius: var(--radius-small);
  background: rgba(15, 60, 135, 0.04);
  border: 1px solid rgba(15, 60, 135, 0.12);
  font-weight: 600;
}

.hero-card__panel {
  height: 100%;
  padding: 1.75rem;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(180deg, rgba(10, 43, 97, 0.98), rgba(13, 55, 118, 0.95));
  color: white;
}

.hero-card__label {
  margin: 0;
  color: var(--accent-soft);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.hero-card h2 {
  margin: 0.7rem 0 0;
  font-size: 2rem;
  line-height: 1.15;
}

.hero-card__phone {
  display: inline-block;
  margin-top: 1rem;
  font-size: clamp(1.8rem, 4vw, 2.45rem);
  font-weight: 700;
  color: white;
}

.hero-card__note {
  color: rgba(255, 255, 255, 0.78);
}

.hero-card__list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0;
}

.hero-card__list dt {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-soft);
  font-weight: 700;
}

.hero-card__list dd {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.trust-strip {
  padding: 0 0 1.25rem;
}

.trust-strip__grid,
.service-grid,
.feature-grid,
.apart-grid,
.review-grid,
.process-grid {
  display: grid;
  gap: 1rem;
}

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

.trust-strip article {
  padding: 1.2rem 1.15rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
}

.trust-strip strong {
  display: block;
  margin-bottom: 0.3rem;
}

.section {
  padding: 3.25rem 0;
}

.section-flash .container,
.section-flash .contact-card,
.section-flash .process,
.section-flash .review-grid {
  animation: section-glow 1.15s ease;
}

@keyframes section-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(15, 60, 135, 0);
    background-color: transparent;
  }

  35% {
    box-shadow: 0 0 0 12px rgba(15, 60, 135, 0.09);
    background-color: rgba(15, 60, 135, 0.04);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(15, 60, 135, 0);
    background-color: transparent;
  }
}

.section--tinted {
  background: linear-gradient(180deg, rgba(32, 48, 58, 0.03), rgba(32, 48, 58, 0));
}

.section--soft {
  background: linear-gradient(180deg, rgba(15, 60, 135, 0.04), rgba(255, 255, 255, 0));
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 1.75rem;
}

.section-heading h2,
.contact-card h2 {
  font-size: clamp(1.95rem, 4vw, 3.1rem);
}

.service-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 60, 135, 0.35) rgba(15, 60, 135, 0.08);
}

.service-card,
.feature-card,
.process-card,
.faq-list details {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
}

.service-card {
  padding: 1.45rem;
  flex: 0 0 280px;
  min-height: 100%;
  scroll-snap-align: start;
}

.service-card h3,
.feature-card h3,
.process-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.28rem;
}

.service-card:hover,
.feature-card:hover,
.apart-card:hover,
.faq-list details:hover {
  border-color: rgba(15, 60, 135, 0.24);
  transform: translateY(-2px);
}

.service-scroller {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
}

.service-scroller__button {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(15, 60, 135, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-deep);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(14, 44, 98, 0.08);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.service-scroller__button:hover,
.service-scroller__button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(201, 31, 46, 0.3);
  background: white;
}

.service-scroller__button[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.service-grid::-webkit-scrollbar {
  height: 10px;
}

.service-grid::-webkit-scrollbar-track {
  background: rgba(15, 60, 135, 0.08);
  border-radius: 999px;
}

.service-grid::-webkit-scrollbar-thumb {
  background: rgba(15, 60, 135, 0.35);
  border-radius: 999px;
}

.services-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.4rem;
}

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

.feature-card {
  padding: 1.45rem;
}

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

.apart-card {
  padding: 1.55rem;
  border-radius: 22px;
  border: 1px solid rgba(32, 48, 58, 0.08);
  background:
    radial-gradient(circle at right top, rgba(201, 31, 46, 0.08), transparent 32%),
    rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.apart-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.28rem;
}

.apart-card p {
  margin: 0;
  color: var(--text-soft);
}

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

.review-card {
  padding: 1.55rem;
  border-radius: 22px;
  border: 1px solid rgba(32, 48, 58, 0.08);
  background:
    radial-gradient(circle at right top, rgba(15, 60, 135, 0.06), transparent 30%),
    rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.review-card p {
  margin: 0;
  color: var(--text-soft);
}

.review-card__stars {
  margin-bottom: 0.9rem !important;
  color: var(--accent);
  font-size: 1.15rem;
  letter-spacing: 0.1em;
}

.review-card strong {
  display: inline-block;
  margin-top: 1rem;
  color: var(--brand-deep);
}

.process {
  display: grid;
  gap: 1.6rem;
}

.process__heading {
  margin-bottom: 0;
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-card {
  padding: 1.5rem;
}

.process-card span {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list details {
  padding: 1.2rem 1.25rem;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding-right: 2rem;
  position: relative;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -0.05rem;
  color: var(--brand);
  font-size: 1.5rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0.9rem 0 0;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.6rem, 3vw, 2.35rem);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(circle at right top, rgba(201, 31, 46, 0.08), transparent 25%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 255, 0.94));
}

.site-footer {
  padding: 1.4rem 0 2.5rem;
}

.site-footer__inner {
  padding-top: 1.4rem;
  border-top: 1px solid rgba(32, 48, 58, 0.08);
  flex-wrap: wrap;
  color: var(--text-soft);
}

.site-footer__inner p {
  margin: 0;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(201, 31, 46, 0.85);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .hero__grid,
  .contact-card,
  .trust-strip__grid,
  .feature-grid,
  .apart-grid,
  .review-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-card__actions {
    width: 100%;
  }

  .service-card {
    flex-basis: min(82vw, 320px);
  }

  .hero-card {
    grid-row: 1;
  }

  .hero__content {
    grid-row: 2;
  }
}

@media (max-width: 1120px) {
  .site-header__inner {
    position: relative;
  }

  .brand__logo {
    width: min(100%, 15rem);
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(32, 48, 58, 0.08);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .site-nav.is-open {
    display: flex;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    min-width: 0;
  }

  .brand__logo {
    width: min(100%, 10.75rem);
  }

  .menu-toggle {
    margin-left: auto;
    align-self: auto;
    min-height: 2.9rem;
    padding: 0.65rem 0.95rem;
  }

  .site-nav {
    grid-column: 1 / -1;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero h1 {
    max-width: 10.5ch;
    font-size: clamp(2rem, 9vw, 2.9rem);
  }

  .hero__lede {
    font-size: 1.05rem;
  }

  .hero__badge {
    margin-top: 0.85rem;
  }

  .service-scroller {
    grid-template-columns: 1fr;
  }

  .service-scroller__button {
    display: none;
  }

  .hero__content,
  .hero-card__panel,
  .contact-card {
    padding: 1.4rem;
  }

  .hero-card h2,
  .contact-card h2,
  .section-heading h2 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .hero-card__phone {
    font-size: clamp(1.55rem, 8vw, 2rem);
  }

  .hero__highlights {
    gap: 0.75rem;
  }

  .hero__highlights li,
  .service-card,
  .feature-card,
  .apart-card,
  .review-card,
  .process-card,
  .faq-list details {
    padding: 1.15rem;
  }

  .service-grid {
    gap: 0.85rem;
    padding-bottom: 0.35rem;
  }

  .service-card {
    flex-basis: 84vw;
  }

  .services-cta {
    margin-top: 1rem;
  }

  .process-card span {
    width: 2.6rem;
    height: 2.6rem;
  }

  .button {
    width: 100%;
  }
}

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

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