:root {
  --red: #ef1723;
  --red-dark: #c8101a;
  --charcoal: #242424;
  --gray-900: #333333;
  --gray-700: #5f5f5f;
  --gray-100: #f3f3f3;
  --white: #ffffff;
  --content-width: 1120px;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

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

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

body {
  margin: 0;
  color: var(--gray-900);
  background: var(--white);
  font-family: "Lato", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--red-dark);
}

a:hover {
  color: var(--red);
}

:focus-visible {
  outline: 3px solid #ffb3b8;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--charcoal);
  transform: translateY(-150%);
}

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

.announcement {
  min-height: 1.75rem;
  padding: 0.15rem 1rem;
  color: var(--white);
  background: #ff0712;
  font-size: 1rem;
  font-style: italic;
  text-align: center;
  animation: gentle-fade 650ms ease-out both;
}

.site-header {
  position: relative;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 8rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  position: relative;
  align-self: stretch;
  flex: 0 0 152px;
  overflow: visible;
  animation: brand-arrival 700ms cubic-bezier(0.2, 0.75, 0.3, 1) 100ms both;
}

.brand img {
  position: absolute;
  z-index: 60;
  top: 50%;
  left: 0;
  width: 144px;
  max-width: none;
  filter: drop-shadow(0 14px 12px rgba(0, 0, 0, 0.3)) drop-shadow(0 3px 3px rgba(0, 0, 0, 0.18));
  transform: translateY(-50%);
}

.menu-toggle {
  display: none;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0.55rem;
  border: 0;
  color: var(--charcoal);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.8rem;
  height: 3px;
  margin: 0.3rem auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: inline-block;
  padding: 0.8rem 0;
  color: #575757;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.25;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.45rem;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--red);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 31rem;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #3e3e3e var(--hero-image) center / cover no-repeat;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.32));
  content: "";
}

.hero-home {
  min-height: 39rem;
}

.hero-inner {
  width: min(calc(100% - 2rem), 1020px);
  margin-inline: auto;
  padding: 5rem 0;
}

.hero-inner > * {
  animation: hero-arrival 720ms cubic-bezier(0.2, 0.75, 0.3, 1) both;
}

.hero-inner > :nth-child(1) {
  animation-delay: 120ms;
}

.hero-inner > :nth-child(2) {
  animation-delay: 210ms;
}

.hero-inner > :nth-child(3) {
  animation-delay: 300ms;
}

.hero-inner > :nth-child(4) {
  animation-delay: 390ms;
}

.service-card {
  animation: gentle-fade 650ms ease-out both;
}

.service-card:nth-child(1) {
  animation-delay: 500ms;
}

.service-card:nth-child(2) {
  animation-delay: 590ms;
}

.service-card:nth-child(3) {
  animation-delay: 680ms;
}

.service-card:nth-child(4) {
  animation-delay: 770ms;
}

.eyebrow {
  margin: 0 0 0.25rem;
  font-size: clamp(1.15rem, 3vw, 2.3rem);
  font-weight: 300;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.12;
  text-transform: uppercase;
}

.hero-home h1 {
  font-size: clamp(1.85rem, 4vw, 3rem);
}

.hero-subtitle {
  max-width: 760px;
  margin: 1rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border: 1px solid var(--white);
  color: var(--white);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  color: var(--charcoal);
  background: var(--white);
  transform: translateY(-2px);
}

.button-red {
  border-color: var(--red);
  color: var(--white);
  background: var(--red);
}

.button-red:hover {
  border-color: var(--red-dark);
  color: var(--white);
  background: var(--red-dark);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 3rem;
}

.service-card {
  min-width: 0;
  padding: 0.5rem 1.25rem 0;
  border-left: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease;
}

.service-card:first-child {
  border-left: 0;
}

.service-card:hover {
  color: var(--white);
  transform: translateY(-6px);
}

.service-card img {
  width: 130px;
  height: 115px;
  margin: 0 auto 0.6rem;
  object-fit: contain;
}

.service-card span {
  display: block;
  font-size: 1.05rem;
  line-height: 1.3;
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: var(--white);
}

.section-gray {
  background: var(--gray-100);
}

.section-dark {
  color: var(--white);
  background: var(--gray-900);
}

.section-kicker {
  margin: 0 0 0.4rem;
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section h2 {
  margin: 0 0 1.5rem;
  color: var(--charcoal);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.25;
}

.section-dark h2 {
  color: var(--white);
}

.section h3 {
  margin: 2rem 0 0.45rem;
  color: var(--charcoal);
  font-size: 1.25rem;
  line-height: 1.3;
}

.section p {
  margin: 0 0 1.2rem;
}

.lede {
  max-width: 900px;
  color: var(--gray-700);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.prose {
  max-width: 960px;
}

.prose p:last-child,
.prose li:last-child {
  margin-bottom: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.feature-card {
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.feature-card:hover {
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
  transform: translateY(-6px);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 1rem;
  background: #fafafa;
}

.feature-card-content {
  padding: 1.25rem;
}

.feature-card h3 {
  margin: 0 0 0.55rem;
  color: var(--red);
  font-size: 1.1rem;
  text-transform: uppercase;
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.75fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.accent-panel {
  padding: 1.5rem;
  border-left: 5px solid var(--red);
  background: var(--gray-100);
}

.accent-panel h3 {
  margin-top: 0;
}

.check-list,
.numbered-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.numbered-list li {
  position: relative;
  margin-bottom: 0.9rem;
  padding-left: 2rem;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--red);
  content: "•";
  font-size: 1.7rem;
  line-height: 1;
}

.numbered-list {
  counter-reset: item;
}

.numbered-list li {
  counter-increment: item;
  padding-left: 3rem;
}

.numbered-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  content: counter(item);
  font-weight: 800;
  line-height: 1;
}

.verification {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.75rem, 2.5vw, 2.75rem) 0 clamp(2.25rem, 3.5vw, 3.25rem);
  color: var(--white);
  background: linear-gradient(135deg, var(--red-dark), var(--red) 55%, #70706e);
}

.verification::before,
.verification::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.verification::after {
  right: -5.5rem;
  bottom: -8.5rem;
  width: 22rem;
  height: 22rem;
  border: 2rem solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 0 0 1.2rem rgba(255, 255, 255, 0.025),
    0 0 0 2.8rem rgba(255, 255, 255, 0.018);
  animation: verification-ring-pulse 8s ease-in-out infinite;
}

.verification::before {
  right: 13.5rem;
  bottom: 4.25rem;
  width: 5.25rem;
  height: 5.25rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.12), transparent 35%);
  box-shadow:
    inset 0 0 1.4rem rgba(255, 255, 255, 0.05),
    6.5rem -4.5rem 0 -1.8rem rgba(255, 255, 255, 0.12),
    10rem 0.5rem 0 -2.15rem rgba(255, 255, 255, 0.11);
  animation: verification-bubble-float 10s ease-in-out infinite;
}

.verification .section-inner {
  position: relative;
  z-index: 1;
}

.verification h2 {
  margin: 0 0 0.75rem;
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.25;
}

.verification p {
  max-width: 900px;
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.verification .disclaimer {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  font-size: 0.95rem;
  font-style: italic;
  opacity: 0.94;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.contact-details {
  padding: 1.75rem;
  color: var(--white);
  background: var(--gray-900);
}

.contact-details h3 {
  margin-top: 0;
  color: var(--white);
}

.contact-details a {
  color: var(--white);
  font-weight: 700;
  overflow-wrap: anywhere;
}

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

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field-full {
  grid-column: 1 / -1;
}

.contact-form label {
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem;
  border: 1px solid #aaa;
  border-radius: 0;
  color: var(--charcoal);
  background: var(--white);
  font: inherit;
  line-height: 1.7;
}

.contact-form textarea {
  min-height: 10rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  outline: 3px solid rgba(239, 23, 35, 0.2);
}

.field-help {
  margin: 0;
  color: var(--gray-700);
  font-size: 0.9rem;
  line-height: 1.5;
}

.required-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--gray-700);
  font-size: 0.9rem;
}

.form-status {
  display: none;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-left: 4px solid #237a35;
  background: #eaf7ed;
}

.form-status.is-error {
  border-left-color: var(--red);
  background: #fff0f1;
}

.form-status.is-visible {
  display: block;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.site-footer {
  padding: 1.4rem 0;
  color: var(--white);
  background: #71716f;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.3, 1);
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes gentle-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes brand-arrival {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes hero-arrival {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes verification-ring-pulse {
  0%,
  100% {
    opacity: 0.78;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.035);
  }
}

@keyframes verification-bubble-float {
  0%,
  100% {
    opacity: 0.72;
    transform: translate3d(0, 0, 0) scale(0.94);
  }
  50% {
    opacity: 1;
    transform: translate3d(-0.65rem, -0.8rem, 0) scale(1.04);
  }
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer p {
  margin: 0;
}

.back-to-top {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .header-inner {
    min-height: 6.5rem;
  }

  .brand {
    flex-basis: 121px;
  }

  .brand img {
    width: 113px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    max-height: 0;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.15);
    transition: max-height 220ms ease;
  }

  .site-nav.is-open {
    max-height: 30rem;
  }

  .site-nav ul {
    display: block;
    width: min(calc(100% - 2rem), var(--content-width));
    margin-inline: auto;
    padding: 0.5rem 0 1rem;
  }

  .site-nav a {
    display: block;
    min-height: 3rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid #e7e7e7;
  }

  .site-nav a::after {
    right: auto;
    bottom: 0.55rem;
    width: 3rem;
    transform-origin: left;
  }

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

  .service-card:nth-child(3) {
    border-left: 0;
  }

  .service-card:nth-child(n + 3) {
    margin-top: 1.5rem;
  }
}

@media (max-width: 760px) {
  .announcement {
    font-size: 0.88rem;
  }

  .header-inner {
    min-height: 5.5rem;
  }

  .brand {
    flex-basis: 104px;
  }

  .brand img {
    width: 97px;
  }

  .hero,
  .hero-home {
    min-height: auto;
  }

  .hero-inner {
    padding: 4rem 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }

  .service-card,
  .service-card:nth-child(3) {
    display: grid;
    grid-template-columns: 86px 1fr;
    min-height: 7rem;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-align: left;
  }

  .service-card img {
    width: 80px;
    height: 80px;
    margin: 0;
  }

  .feature-grid,
  .two-column,
  .contact-layout,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-field-full,
  .required-note {
    grid-column: auto;
  }

  .verification {
    padding: 1.75rem 0 2.25rem;
  }

  .verification::after {
    right: -8rem;
    bottom: -9rem;
    width: 20rem;
    height: 20rem;
  }

  .verification::before {
    right: 7.5rem;
    bottom: 2.5rem;
    width: 4rem;
    height: 4rem;
  }

  .footer-inner {
    display: block;
    text-align: center;
  }

  .back-to-top {
    display: inline-block;
    margin-top: 0.5rem;
  }
}

@media (max-width: 420px) {
  .header-inner {
    min-height: 5rem;
  }

  .header-inner,
  .section-inner,
  .footer-inner,
  .hero-inner {
    width: min(calc(100% - 1.25rem), var(--content-width));
  }

  .brand {
    flex-basis: 89px;
  }

  .brand img {
    width: 86px;
  }

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

}

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

  *,
  *::before,
  *::after {
    animation-delay: 0ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }

  .verification::before,
  .verification::after {
    animation: none !important;
    transform: none;
  }
}
