:root {
  --td-bg: #f3f6fb;
  --td-surface: #ffffff;
  --td-surface-soft: #eaf0f8;
  --td-text: #1d2b42;
  --td-muted: #4d607e;
  --td-line: #d2dbe8;
  --td-primary: #1453bd;
  --td-primary-deep: #0e3c8d;
  --td-accent: #ef7c24;
  --td-shadow-soft: 0 18px 38px rgba(18, 51, 101, 0.1);
  --td-shadow-lift: 0 28px 60px rgba(14, 44, 93, 0.16);
  --td-radius-lg: 22px;
  --td-radius-md: 16px;
  --td-radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--td-text);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 520px at -8% -10%, rgba(20, 83, 189, 0.16), transparent 60%),
    radial-gradient(900px 550px at 108% 2%, rgba(239, 124, 36, 0.15), transparent 62%),
    var(--td-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #15233a;
  letter-spacing: -0.01em;
}

h1,
h2 {
  font-family: "Merriweather", Georgia, serif;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.section-space {
  padding: clamp(3rem, 6vw, 5.3rem) 0;
}

.section-light {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 251, 255, 0.86));
  border-top: 1px solid #d8e0ec;
  border-bottom: 1px solid #d8e0ec;
}

.skip-link {
  position: fixed;
  left: 0.9rem;
  top: 0.9rem;
  z-index: 1200;
  padding: 0.6rem 0.8rem;
  border-radius: var(--td-radius-sm);
  background: #111e33;
  color: #fff;
  transform: translateY(-250%);
}

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

.top-bar {
  background: linear-gradient(92deg, #102f66, #1a57b8);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  padding: 0.46rem 0;
}

.top-bar a {
  color: #f3f7ff;
  font-weight: 700;
}

.top-bar a:hover {
  color: #fefefe;
}

.main-nav {
  z-index: 900;
}

.nav-shell {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--td-line);
  border-radius: 999px;
  padding: 0.45rem 0.7rem 0.45rem 0.9rem;
  box-shadow: var(--td-shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
}

.logo-placeholder {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 2px dashed rgba(20, 83, 189, 0.35);
  background: linear-gradient(145deg, rgba(20, 83, 189, 0.1), rgba(20, 83, 189, 0.04));
  flex-shrink: 0;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
  color: #162944;
  line-height: 1.05;
}

.brand small {
  display: block;
  font-size: 0.74rem;
  color: #4b607f;
}

.navbar .nav-link {
  color: #344d71;
  font-weight: 600;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus-visible {
  color: var(--td-primary-deep);
}

.navbar-toggler {
  border-color: #c4d1e4;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(20, 83, 189, 0.2);
}

.nav-quote-btn {
  margin-left: 1rem;
  white-space: nowrap;
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(130deg, var(--td-primary), var(--td-primary-deep));
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(14, 60, 141, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(130deg, #185bcf, #0f449f);
  border-color: transparent;
}

.btn-outline-primary {
  border-color: #225fc9;
  color: #174da8;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus-visible {
  background: rgba(20, 83, 189, 0.08);
  color: #123f8d;
  border-color: #225fc9;
}

.hero {
  padding-top: clamp(2.4rem, 5vw, 4.2rem);
}

.hero-copy h1 {
  font-size: clamp(2rem, 4.3vw, 3.25rem);
  line-height: 1.08;
  max-width: 15.5ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.9rem;
  padding: 0.38rem 0.76rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 83, 189, 0.25);
  background: rgba(20, 83, 189, 0.12);
  color: #15489f;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  font-size: 0.76rem;
}

.hero-lead {
  margin-top: 0.95rem;
  max-width: 63ch;
  color: #334d70;
  font-size: 1.1rem;
  line-height: 1.56;
}

.check-list {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.48rem;
}

.check-list li {
  position: relative;
  padding-left: 1.3rem;
  color: #304d72;
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(130deg, var(--td-accent), #f59a54);
}

.micro-copy {
  color: #486083;
  font-weight: 600;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid var(--td-line);
  border-radius: var(--td-radius-lg);
  box-shadow: var(--td-shadow-lift);
  padding: 1rem;
}

.media-placeholder {
  min-height: 260px;
  border: 2px dashed rgba(20, 83, 189, 0.34);
  border-radius: var(--td-radius-md);
  max-width: 100%;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(20, 83, 189, 0.09), rgba(20, 83, 189, 0.02)),
    repeating-linear-gradient(-35deg, transparent 0 13px, rgba(20, 83, 189, 0.05) 13px 14px);
}

.media-placeholder.media-has-image {
  border: 1px solid var(--td-line);
  background: none;
  line-height: 0;
  aspect-ratio: 16 / 10;
}

.media-placeholder img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
}

.media-placeholder.media-has-image img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.stat-card {
  border: 1px solid var(--td-line);
  border-radius: var(--td-radius-md);
  background: #fff;
  padding: 0.78rem;
}

.counter-value {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.35rem);
  font-weight: 900;
  color: var(--td-primary-deep);
  line-height: 1;
}

.stat-card p:last-child {
  margin: 0.45rem 0 0;
  color: #4a617f;
  font-size: 0.9rem;
}

.guarantee-box {
  border: 1px solid #d8e2f0;
  border-radius: var(--td-radius-md);
  background: linear-gradient(140deg, rgba(20, 83, 189, 0.09), rgba(239, 124, 36, 0.08));
  padding: 0.85rem 0.9rem;
}

.guarantee-box h2 {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.guarantee-box p {
  color: #395776;
  font-size: 0.95rem;
}

.logo-strip {
  border: 1px solid var(--td-line);
  border-radius: var(--td-radius-lg);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--td-shadow-soft);
  padding: 0.95rem;
}

.logo-strip p {
  color: #4a617f;
  font-size: 0.91rem;
}

.logo-slot {
  min-height: 62px;
  border-radius: var(--td-radius-sm);
  border: 1px dashed #bdcbe1;
  background: rgba(255, 255, 255, 0.75);
}

.section-heading h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.2;
  max-width: 23ch;
}

.section-heading p {
  margin: 0.62rem 0 0;
  color: var(--td-muted);
  max-width: 70ch;
  font-size: 1.05rem;
}

.service-card {
  border: 1px solid var(--td-line);
  border-radius: var(--td-radius-md);
  background: #fff;
  box-shadow: var(--td-shadow-soft);
  padding: 1.05rem;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(15, 49, 103, 0.14);
  border-color: #c2d2ea;
}

.service-chip {
  display: inline-flex;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  border: 1px solid #c5d5eb;
  background: rgba(20, 83, 189, 0.08);
  color: #15489f;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.service-card h3 {
  margin-top: 0.66rem;
  font-size: 1.3rem;
}

.service-card p {
  margin-top: 0.45rem;
  color: #3e5778;
  font-size: 1rem;
}

.service-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.05rem;
  color: #3f5a7f;
}

.service-card li {
  margin-top: 0.35rem;
}

.process-card {
  border: 1px solid var(--td-line);
  border-radius: var(--td-radius-md);
  background: #fff;
  box-shadow: var(--td-shadow-soft);
  padding: 1rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  min-height: 28px;
  padding: 0.24rem 0.52rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 83, 189, 0.25);
  background: rgba(20, 83, 189, 0.12);
  color: #16489b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.process-card h3 {
  margin-top: 0.68rem;
  font-size: 1.24rem;
}

.process-card p {
  margin-top: 0.44rem;
  color: #415d82;
}

.price-card {
  border: 1px solid var(--td-line);
  border-radius: var(--td-radius-md);
  background: #fff;
  box-shadow: var(--td-shadow-soft);
  padding: 1.1rem;
  position: relative;
}

.price-card h3 {
  font-size: 1.28rem;
}

.price {
  margin: 0.45rem 0 0;
  font-size: 2.35rem;
  line-height: 1;
  font-weight: 900;
  color: #0f3f96;
}

.price-card ul {
  margin: 0.7rem 0 0;
  padding-left: 1.05rem;
  color: #415d82;
}

.price-card li {
  margin-top: 0.38rem;
}

.price-featured {
  border-color: rgba(20, 83, 189, 0.4);
  box-shadow: 0 30px 66px rgba(17, 64, 145, 0.2);
}

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.26rem 0.52rem;
  border-radius: 999px;
  border: 1px solid rgba(239, 124, 36, 0.36);
  background: rgba(239, 124, 36, 0.16);
  color: #9a500d;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.review-card {
  margin: 0;
  border: 1px solid var(--td-line);
  border-radius: var(--td-radius-md);
  background: #fff;
  box-shadow: var(--td-shadow-soft);
  padding: 1.06rem;
}

.review-card blockquote {
  margin: 0;
  color: #253f62;
  font-size: 1.04rem;
  line-height: 1.56;
  font-weight: 600;
}

.review-card figcaption {
  margin-top: 0.72rem;
  color: #4a6180;
  font-size: 0.94rem;
  font-weight: 600;
}

.accordion-item {
  border: 1px solid #d3ddec;
  border-radius: var(--td-radius-md);
  overflow: hidden;
}

.accordion-item + .accordion-item {
  margin-top: 0.72rem;
}

.accordion-button {
  font-weight: 700;
  color: #1f395f;
  background: #fff;
}

.accordion-button:not(.collapsed) {
  color: #123f90;
  background: rgba(20, 83, 189, 0.08);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(20, 83, 189, 0.2);
}

.accordion-body {
  color: #425c80;
  background: #ffffff;
}

.contact-info h2 {
  font-size: clamp(1.62rem, 3vw, 2.3rem);
  line-height: 1.2;
  max-width: 20ch;
}

.contact-info p {
  color: #415c81;
  font-size: 1.04rem;
}

.contact-card {
  border: 1px solid var(--td-line);
  border-radius: var(--td-radius-md);
  background: #fff;
  box-shadow: var(--td-shadow-soft);
  padding: 0.9rem;
}

.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.contact-card p {
  margin: 0;
  font-weight: 700;
}

.contact-card a {
  color: #174ba7;
}

.contact-card small {
  display: block;
  margin-top: 0.32rem;
  color: #576f92;
}

.map-placeholder {
  min-height: 200px;
  border-radius: var(--td-radius-md);
  border: 2px dashed rgba(20, 83, 189, 0.3);
  background:
    linear-gradient(135deg, rgba(20, 83, 189, 0.08), rgba(20, 83, 189, 0.02)),
    repeating-linear-gradient(-43deg, transparent 0 11px, rgba(20, 83, 189, 0.05) 11px 12px);
}

.quote-form {
  border: 1px solid var(--td-line);
  border-radius: var(--td-radius-lg);
  background: #fff;
  box-shadow: var(--td-shadow-lift);
  padding: clamp(1rem, 2vw, 1.3rem);
}

.quote-form h3 {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
}

.form-label {
  font-weight: 700;
  color: #2d476d;
}

.form-control,
.form-select {
  border-radius: 12px;
  border-color: #c6d2e4;
  min-height: 46px;
  background: #fcfdff;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(20, 83, 189, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(20, 83, 189, 0.15);
}

.form-footnote {
  color: #4e6587;
  font-size: 0.88rem;
}

.site-footer {
  border-top: 1px solid var(--td-line);
  background: rgba(255, 255, 255, 0.92);
}

.site-footer p {
  color: #425b7f;
}

.footer-links a {
  color: #2b4a71;
  font-weight: 600;
  padding: 0.3rem 0.62rem;
  border-radius: 8px;
}

.footer-links a:hover {
  background: rgba(20, 83, 189, 0.09);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms ease, transform 420ms ease;
}

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

@media (max-width: 1199.98px) {
  .nav-shell {
    border-radius: var(--td-radius-md);
  }

  .hero-copy h1 {
    max-width: 18ch;
  }
}

@media (max-width: 991.98px) {
  .nav-shell {
    border-radius: 18px;
    padding: 0.55rem 0.75rem;
  }

  .navbar-collapse {
    margin-top: 0.65rem;
    padding-top: 0.45rem;
    border-top: 1px solid #d9e2ef;
  }

  .nav-quote-btn {
    margin-left: 0;
    width: 100%;
    margin-top: 0.4rem;
  }

  .navbar .nav-link {
    padding-left: 0.2rem;
  }

  .hero-copy h1 {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .section-space {
    padding: 2.9rem 0;
  }

  .top-bar {
    font-size: 0.82rem;
    padding: 0.44rem 0;
  }

  .top-bar .container {
    justify-content: center;
  }

  .hero {
    padding-top: 2.1rem;
  }

  .hero-copy .btn {
    width: 100%;
  }

  .media-placeholder {
    min-height: 205px;
  }

  .media-placeholder.media-has-image {
    aspect-ratio: 4 / 3;
  }

  .logo-slot {
    min-height: 56px;
  }

  .map-placeholder {
    min-height: 170px;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 0.95rem;
    padding-right: 0.95rem;
  }

  .top-bar .d-flex.gap-3 {
    gap: 0.75rem !important;
    flex-direction: column;
    align-items: flex-start;
  }

  .brand strong {
    font-size: 0.98rem;
  }

  .logo-placeholder {
    width: 42px;
    height: 42px;
  }

  .hero-lead {
    font-size: 1.02rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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