body {
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #334155;
  line-height: 1.7;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Roboto Slab", Georgia, serif;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
}

h4 {
  font-size: 1.15rem;
}

.prose-content {
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.7;
}
.prose-content > p:first-of-type {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #0f172a;
  margin-bottom: 1.75rem;
}
.prose-content p {
  margin-bottom: 1.25rem;
}
.prose-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  position: relative;
}
.prose-content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.5rem;
  height: 3px;
  background-color: #0369a1;
  border-radius: 2px;
}
.prose-content h3 {
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  color: #0f172a;
}
.prose-content h3 a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.15s ease;
}
.prose-content h3 a:hover {
  color: #0369a1;
}
.prose-content a:not(.btn):not(.cta-button):not(.button) {
  color: #0369a1;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: all 0.15s ease;
}
.prose-content a:not(.btn):not(.cta-button):not(.button):hover {
  color: #075985;
  text-decoration-thickness: 2px;
}
.prose-content ul {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
}
.prose-content ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
.prose-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background-color: #0369a1;
}
.prose-content ol {
  counter-reset: prose-step;
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}
.prose-content ol li {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 3.75rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  line-height: 1.6;
}
.prose-content ol li::before {
  counter-increment: prose-step;
  content: counter(prose-step);
  position: absolute;
  left: 1.25rem;
  top: 1.25rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background-color: #0f1d2e;
  color: #ffffff;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prose-content ol li strong {
  color: #0f172a;
}
.prose-content blockquote {
  border-left: 4px solid #0369a1;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background-color: #f8fafc;
  border-radius: 0 0.5rem 0.5rem 0;
  font-style: italic;
  color: #334155;
}

.legal-prose {
  font-size: 1rem;
  line-height: 1.65;
}
.legal-prose h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
}
.legal-prose h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
}

.site-header {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
  z-index: 1030;
  transition: box-shadow 0.2s ease;
}
.site-header .navbar {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.site-header .navbar-brand {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f1d2e;
  letter-spacing: -0.02em;
  padding: 0;
}
.site-header .navbar-brand:hover {
  color: #0369a1;
}
.site-header .navbar-brand .brand-logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.site-header .nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  padding: 0.5rem 0.85rem !important;
  border-radius: 0.375rem;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.site-header .nav-link:hover {
  color: #0369a1;
  background-color: #f8fafc;
}
.site-header .nav-link.active, .site-header .nav-link[aria-current=page] {
  color: #0369a1;
  font-weight: 700;
}
.site-header .dropdown-menu {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(15, 29, 46, 0.08), 0 4px 6px -4px rgba(15, 29, 46, 0.04);
  padding: 0.5rem;
  margin-top: 0.5rem;
  min-width: 16rem;
}
.site-header .dropdown-menu .dropdown-header {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  padding: 0.5rem 0.75rem 0.25rem;
}
.site-header .dropdown-menu .dropdown-item {
  font-size: 0.9rem;
  font-weight: 500;
  color: #334155;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  transition: all 0.15s ease;
}
.site-header .dropdown-menu .dropdown-item:hover {
  background-color: #f0f9ff;
  color: #0369a1;
}
.site-header .dropdown-menu .dropdown-item.active, .site-header .dropdown-menu .dropdown-item[aria-current=page] {
  background-color: #e0f2fe;
  color: #075985;
  font-weight: 600;
}
.site-header .dropdown-menu .dropdown-divider {
  border-color: #e2e8f0;
  margin: 0.5rem 0;
}
.site-header .navbar-toggler {
  padding: 0.4rem 0.6rem;
  font-size: 1.15rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
}
.site-header .navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25);
}

.breadcrumb-container {
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.breadcrumb-container .breadcrumb {
  margin-bottom: 0;
  font-size: 0.85rem;
}
.breadcrumb-container .breadcrumb .breadcrumb-item a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}
.breadcrumb-container .breadcrumb .breadcrumb-item a:hover {
  color: #0369a1;
  text-decoration: underline;
}
.breadcrumb-container .breadcrumb .breadcrumb-item.active {
  color: #334155;
  font-weight: 600;
}
.breadcrumb-container .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: #94a3b8;
  padding: 0 0.5rem;
}

.badge-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  background-color: #f0f9ff;
  color: #075985;
  border: 1px solid #e0f2fe;
}

.btn-consultation,
.cta-button,
.button.primary,
.prose-content > p:last-child > a[href*=contact],
p:has(> a[href*=contact]:only-child) a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff !important;
  background-color: #0369a1;
  border: 2px solid #0369a1;
  border-radius: 9999px;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(3, 105, 161, 0.25);
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}
.btn-consultation:hover,
.cta-button:hover,
.button.primary:hover,
.prose-content > p:last-child > a[href*=contact]:hover,
p:has(> a[href*=contact]:only-child) a:hover {
  background-color: #075985;
  border-color: #075985;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(3, 105, 161, 0.35);
}
.btn-consultation:active,
.cta-button:active,
.button.primary:active,
.prose-content > p:last-child > a[href*=contact]:active,
p:has(> a[href*=contact]:only-child) a:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(3, 105, 161, 0.2);
}
.btn-consultation:focus-visible,
.cta-button:focus-visible,
.button.primary:focus-visible,
.prose-content > p:last-child > a[href*=contact]:focus-visible,
p:has(> a[href*=contact]:only-child) a:focus-visible {
  outline: 3px solid rgba(3, 105, 161, 0.5);
  outline-offset: 2px;
}

.prose-content div[style*="text-align: center"] {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2.5rem 0 !important;
}
.prose-content div[style*="text-align: center"] > span {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0 !important;
}
.prose-content div[style*="text-align: center"] a[href="#services"] {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: #334155 !important;
  background-color: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 9999px;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.prose-content div[style*="text-align: center"] a[href="#services"]:hover {
  background-color: #f1f5f9;
  color: #0f172a !important;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.service-card {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background-color: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(15, 29, 46, 0.08), 0 4px 6px -4px rgba(15, 29, 46, 0.04) !important;
  border-color: #7dd3fc;
}
.service-card .service-card-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.75rem;
  background-color: #f0f9ff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card .card-title a {
  color: #0f172a;
  transition: color 0.15s ease;
}
.service-card .card-title a:hover {
  color: #0369a1;
}

.cta-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: 1rem;
  padding: 2.5rem 2rem;
}

.home-page .prose-content h3:has(a[href^="/services/"]) {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  border-left: 3px solid #0369a1;
}
.home-page .prose-content h3:has(a[href^="/services/"]) a {
  color: #0f1d2e;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}
.home-page .prose-content h3:has(a[href^="/services/"]) a:hover {
  color: #0369a1;
}
.home-page .prose-content h3:has(a[href^="/services/"]) + p {
  padding-left: 1rem;
  margin-bottom: 1.75rem;
  color: #334155;
}
.home-page .prose-content > h2:last-of-type {
  margin-top: 4rem;
  text-align: center;
}
.home-page .prose-content > h2:last-of-type::after {
  left: 50%;
  transform: translateX(-50%);
}
.home-page .prose-content > h2:last-of-type + p {
  text-align: center;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.15rem;
}

.service-detail-page .prose-content > h2:last-of-type {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}
.service-detail-page .prose-content > h2:last-of-type::after {
  display: none;
}
.service-detail-page .prose-content > h2:last-of-type + p {
  background-color: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 0.875rem;
  padding: 1.5rem 1.75rem;
  font-size: 1.1rem;
  line-height: 1.7;
}
.service-detail-page .prose-content > h2:last-of-type + p a {
  font-weight: 700;
  color: #075985;
  text-decoration: underline;
  text-underline-offset: 3px;
}

figure.image,
figure.image.fit {
  margin: 2.5rem 0;
  border-radius: 0.875rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(15, 29, 46, 0.07), 0 2px 4px -2px rgba(15, 29, 46, 0.05);
  border: 1px solid #e2e8f0;
  background-color: #f8fafc;
}
figure.image img,
figure.image.fit img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

figure.image img[src*=Avatar] {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 6px -1px rgba(15, 29, 46, 0.07), 0 2px 4px -2px rgba(15, 29, 46, 0.05);
  background-color: #f8fafc;
  float: right;
  margin: 0 0 1.5rem 2rem;
}
@media (max-width: 575.98px) {
  figure.image img[src*=Avatar] {
    float: none;
    margin: 0 auto 1.5rem;
    display: block;
  }
}

#contact-form {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 4px 6px -1px rgba(15, 29, 46, 0.07), 0 2px 4px -2px rgba(15, 29, 46, 0.05);
  margin-top: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 575.98px) {
  #contact-form {
    padding: 1.5rem;
  }
}
#contact-form #fs-frm-inputs {
  border: none;
  padding: 0;
  margin: 0;
}
#contact-form legend {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}
#contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #334155;
  margin-bottom: 0.35rem;
}
#contact-form input[type=text],
#contact-form input[type=email],
#contact-form textarea {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #0f172a;
  background-color: #f8fafc;
  border: 1.5px solid #64748b;
  border-radius: 0.5rem;
  margin-bottom: 1.25rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
#contact-form input[type=text]:focus,
#contact-form input[type=email]:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: #0369a1;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(3, 105, 161, 0.2);
}
#contact-form input[type=text]::placeholder,
#contact-form input[type=email]::placeholder,
#contact-form textarea::placeholder {
  color: #64748b;
  opacity: 1;
}
#contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
#contact-form .form-honeypot {
  display: none !important;
}
#contact-form p:has(input[type=checkbox]) {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1.5rem 0;
  padding: 0.75rem 1rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
}
#contact-form p:has(input[type=checkbox]) input[type=checkbox] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: #0369a1;
  cursor: pointer;
  flex-shrink: 0;
}
#contact-form p:has(input[type=checkbox]) label[for=privacy-notice-read] {
  display: inline;
  font-size: 0.9rem;
  font-weight: normal;
  text-transform: none;
  letter-spacing: normal;
  color: #334155;
  margin-bottom: 0;
  line-height: 1.5;
  cursor: pointer;
}
#contact-form p:has(input[type=checkbox]) label[for=privacy-notice-read] a {
  color: #0369a1;
  text-decoration: underline;
}
#contact-form p:has(input[type=checkbox]) label[for=privacy-notice-read] a:hover {
  color: #075985;
}
#contact-form input[type=submit] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.5rem;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #0369a1;
  border: 2px solid #0369a1;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(3, 105, 161, 0.25);
}
#contact-form input[type=submit]:hover {
  background-color: #075985;
  border-color: #075985;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(3, 105, 161, 0.35);
}
#contact-form input[type=submit]:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(3, 105, 161, 0.2);
}
#contact-form input[type=submit]:focus-visible {
  outline: 3px solid rgba(3, 105, 161, 0.5);
  outline-offset: 2px;
}
#contact-form input[type=submit]:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}
#contact-form #contact-form-status {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 1rem;
  display: none;
}
#contact-form #contact-form-status:not(:empty) {
  display: block;
  background-color: #f0f9ff;
  color: #075985;
  border: 1px solid #e0f2fe;
}
#contact-form #contact-form-status.form-status--error {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.form-notice {
  border-radius: 0.75rem;
  padding: 1.75rem;
  margin-bottom: 2rem;
  border: 1px solid transparent;
  text-align: left;
}
.form-notice--success {
  background-color: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}
.form-notice--error {
  background-color: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}
.form-notice p:last-child {
  margin-bottom: 0;
}

.site-footer {
  background-color: #0b1320;
  color: #94a3b8;
  font-size: 0.95rem;
}
.site-footer h6,
.site-footer .footer-heading {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.site-footer p {
  color: #94a3b8;
  line-height: 1.6;
}
.site-footer a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.15s ease;
}
.site-footer a:hover {
  color: #38bdf8;
  text-decoration: underline;
}
.site-footer .footer-links {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.site-footer .footer-links li {
  margin-bottom: 0.6rem;
}
.site-footer .footer-links li a {
  display: inline-block;
}
.site-footer .footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.site-footer .footer-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  transition: all 0.2s ease;
  font-size: 1rem;
}
.site-footer .footer-social-links a:hover {
  background-color: #0369a1;
  color: #ffffff;
  transform: translateY(-2px);
}
.site-footer .footer-social-links a:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
}
.site-footer .footer-bottom a {
  color: #cbd5e1;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-footer .footer-bottom a:hover {
  color: #ffffff;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 2000;
  padding: 0.75rem 1.25rem;
  background-color: #0369a1;
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
  outline: 3px solid #ffffff;
}

:focus-visible {
  outline: 2px solid #0369a1 !important;
  outline-offset: 2px !important;
}

html {
  scroll-padding-top: 5.5rem;
}

:target {
  scroll-margin-top: 5.5rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
