:root {
  --red-primary: #dc2626;
  --red-dark: #b91c1c;
  --red-light: #fee2e2;
  --black: #000000;
  --ink: #0f172a;
  --ink-soft: #1e293b;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background: #f8fafc;
  line-height: 1.6;
}

a {
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
}

img[data-src] {
  filter: blur(8px);
  transition: filter 0.4s ease;
}

img.loaded {
  filter: blur(0);
}

.btn-primary {
  background: var(--red-primary);
  color: #fff;
  padding: 0.55rem 0.95rem;
  border-radius: 0.45rem;
  font-weight: 600;
  font-size: 0.86rem;
  border: 1px solid transparent;
  box-shadow: none;
}

.btn-primary:hover {
  transform: none;
  background: var(--red-dark);
  box-shadow: none;
}

.btn-dark {
  background: #111827;
  color: #fff;
  padding: 0.55rem 0.95rem;
  border-radius: 0.45rem;
  font-weight: 600;
  font-size: 0.86rem;
  border: 1px solid #0f172a;
}

.btn-dark:hover {
  background: #000;
}

.section-shell {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.2rem 1rem;
}

.surface-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.7rem;
  box-shadow: none;
}

.surface-card:hover {
  border-color: #d1d5db;
  box-shadow: none;
}

.section-title {
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.3;
  font-weight: 700;
  color: #0f172a;
}

.service-spotlight-card {
  position: relative;
  text-align: center;
  padding: 2.1rem 1rem 1rem;
  border-radius: 0.7rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: none;
}

.service-spotlight-card:hover {
  border-color: #d1d5db;
  transform: none;
}

.service-spotlight-icon {
  position: absolute;
  left: 50%;
  top: -20px;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 1px solid #fee2e2;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: none;
}

.service-spotlight-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.home-service-wrap {
  padding-top: 2.8rem !important;
}

.home-service-title {
  font-size: clamp(2rem, 3.2vw, 3.1rem) !important;
  line-height: 1.14 !important;
  font-weight: 800 !important;
  color: #0b2145;
  letter-spacing: -0.01em;
}

.home-service-card {
  display: block;
  background: #f4f6f8;
  border: 1px solid #d9dee5;
  border-radius: 1.2rem;
  padding: 2.1rem 1.6rem 1.4rem;
  min-height: 220px;
}

.home-service-card:hover {
  border-color: #c7ced8;
  background: #f2f4f7;
}

.home-service-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.home-service-heading {
  margin-top: 1rem;
  font-size: 1.9rem !important;
  font-weight: 800 !important;
  color: #0b2145;
  line-height: 1.2 !important;
}

.home-service-copy {
  margin-top: 0.7rem;
  color: #39485f;
  font-size: 1.08rem !important;
  line-height: 1.45 !important;
}

.hero-shell {
  width: 100%;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  border: none;
  box-shadow: none;
}

.hero-glass {
  background: rgba(15, 23, 42, 0.82);
  border-right: none;
  padding: 1rem;
}

.trust-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.trust-pill {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0.45rem;
  padding: 0.5rem;
  font-size: 0.76rem;
  font-weight: 600;
  text-align: center;
  color: #fff;
  transition: none;
}

.trust-pill:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  transform: none;
}

main h1 {
  font-size: 1.45rem !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

main h2 {
  font-size: 1.2rem !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

main h3 {
  font-size: 1rem !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
}

main p,
main li,
main label,
main input,
main select,
main textarea,
main button,
main a {
  font-size: 0.9rem;
}

main .text-lg {
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
}

main .text-xl {
  font-size: 1rem !important;
  line-height: 1.45 !important;
}

main .text-2xl {
  font-size: 1.12rem !important;
  line-height: 1.4 !important;
}

main input,
main select,
main textarea {
  min-height: 36px;
}

main .btn-primary,
main .btn-dark {
  min-height: 36px;
}

@media (max-width: 768px) {
  .hero-shell {
    margin-top: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  main h1 {
    font-size: 1.25rem !important;
  }

  main h2 {
    font-size: 1.08rem !important;
  }

  main h3 {
    font-size: 0.96rem !important;
  }

  section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .surface-card {
    border-radius: 0.6rem;
  }

  .hero-glass {
    padding: 1rem;
  }

  .home-service-title {
    font-size: 1.75rem !important;
  }

  .home-service-card {
    min-height: auto;
    padding: 1.1rem;
  }

  .home-service-icon {
    width: 42px;
    height: 42px;
  }

  .home-service-heading {
    font-size: 1.14rem !important;
  }

  .home-service-copy {
    font-size: 0.93rem !important;
  }
}
