html {
  scroll-behavior: smooth;
}

:root,
html[data-theme="classic"] {
  --dc-bg: #f6f8fb;
  --dc-surface: #ffffff;
  --dc-surface-strong: #eef3f8;
  --dc-surface-soft: #f9fbfd;
  --dc-text: #293241;
  --dc-muted: #5c6878;
  --dc-heading: #071e55;
  --dc-primary: #042573;
  --dc-primary-2: #0c5fa8;
  --dc-on-primary: #ffffff;
  --dc-accent: #b88932;
  --dc-border: #dce5ef;
  --dc-border-strong: #b9c7d8;
  --dc-hero-overlay: linear-gradient(105deg, rgba(3, 20, 58, 0.88), rgba(4, 37, 115, 0.72));
  --dc-shadow: 0 18px 45px rgba(12, 32, 66, 0.14);
  --dc-shadow-soft: 0 12px 28px rgba(12, 32, 66, 0.1);
  --dc-radius: 8px;
  --dc-radius-sm: 6px;
}

html[data-theme="dark"] {
  --dc-bg: #dfe7ea;
  --dc-surface: #25313a;
  --dc-surface-strong: #1f2a33;
  --dc-surface-soft: #e8eef1;
  --dc-text: #eaf0f3;
  --dc-muted: #bac7ce;
  --dc-heading: #f6fafc;
  --dc-primary: #6fb4d9;
  --dc-primary-2: #a5c8d8;
  --dc-on-primary: #10212e;
  --dc-accent: #e1bb68;
  --dc-border: #465966;
  --dc-border-strong: #8ea2ad;
  --dc-hero-overlay: linear-gradient(105deg, rgba(25, 37, 45, 0.94), rgba(37, 49, 58, 0.9));
  --dc-shadow: 0 18px 45px rgba(23, 34, 42, 0.32);
  --dc-shadow-soft: 0 12px 28px rgba(23, 34, 42, 0.22);
  --dc-radius: 8px;
  --dc-radius-sm: 6px;
}

/* Light section bands and dark panels need their own foreground colors. */
html[data-theme="dark"] .dc-section:not(.alt) {
  --dc-text: #29343b;
  --dc-muted: #42535f;
  --dc-heading: #18272f;
  --dc-primary: #14506c;
  --dc-primary-2: #1e607a;
  --dc-on-primary: #ffffff;
  --dc-accent: #755518;
}

html[data-theme="dark"] :is(.hero-panel, .contact-card, .content-panel, .service-card, .practice-card, .faq-panel, .step-card, .region-card, .stat-card) {
  --dc-text: #eaf0f3;
  --dc-muted: #bac7ce;
  --dc-heading: #f6fafc;
  --dc-primary: #6fb4d9;
  --dc-primary-2: #a5c8d8;
  --dc-on-primary: #10212e;
  --dc-accent: #e1bb68;
}

body.site-redesign {
  background: var(--dc-bg);
  color: var(--dc-text);
  font-family: "Open Sans", Arial, sans-serif;
  overflow-x: hidden;
}

.site-redesign h1,
.site-redesign h2,
.site-redesign h3,
.site-redesign h4,
.site-redesign h5,
.site-redesign h6 {
  color: var(--dc-heading);
  font-family: "Roboto", Arial, sans-serif;
  letter-spacing: 0;
}

.site-redesign p,
.site-redesign li {
  color: var(--dc-muted);
}

.site-redesign a {
  color: var(--dc-primary);
}

.site-redesign a:hover,
.site-redesign a:focus {
  color: var(--dc-primary-2);
}

.skip-link {
  left: 16px;
  position: absolute;
  top: -80px;
  z-index: 10000;
  background: var(--dc-primary);
  color: var(--dc-on-primary);
  padding: 12px 16px;
  border-radius: var(--dc-radius-sm);
}

.skip-link:focus {
  top: 12px;
  color: var(--dc-on-primary);
}

.site-header .navbar-fixed-top {
  position: fixed !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid var(--dc-border);
  box-shadow: 0 8px 26px rgba(10, 20, 40, 0.08) !important;
  backdrop-filter: blur(12px);
}

html[data-theme="dark"] .site-header .navbar-fixed-top {
  background: rgba(37, 49, 58, 0.97) !important;
}

html[data-theme="dark"] .theme-option.is-active,
html[data-theme="dark"] .nav-phone,
html[data-theme="dark"] .btn-primary-dc {
  color: var(--dc-on-primary) !important;
}

.site-header .navbar {
  padding: 8px 0;
}

.site-header .navbar-brand {
  display: inline-flex;
  align-items: center;
  max-width: 188px;
  padding: 0;
}

.site-header .navbar-brand img {
  display: block;
  height: auto;
  max-width: 100%;
}

html[data-theme="dark"] .site-header .navbar-brand img {
  background: #ffffff;
  border-radius: var(--dc-radius-sm);
  padding: 6px;
}

.site-header .navbar-toggler {
  border-color: var(--dc-border-strong);
  border-radius: var(--dc-radius-sm);
  color: var(--dc-heading);
}

.site-header .navbar-toggler-icon i {
  color: var(--dc-heading);
}

.site-header .navbar-nav > li > a {
  color: var(--dc-heading) !important;
  font-size: 15px !important;
  font-weight: 600;
  line-height: 22px !important;
  padding: 8px 10px !important;
}

.site-header .navbar-nav > li > a:hover,
.site-header .navbar-nav > li > a.active {
  color: var(--dc-primary-2) !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 14px;
}

.theme-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--dc-surface-strong);
  border: 1px solid var(--dc-border);
  border-radius: var(--dc-radius-sm);
  padding: 4px;
}

.theme-option {
  border: 0;
  background: transparent;
  color: var(--dc-heading);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 10px;
  border-radius: var(--dc-radius-sm);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.theme-option:hover,
.theme-option:focus {
  outline: 2px solid transparent;
  background: rgba(4, 37, 115, 0.1);
}

.theme-option.is-active {
  background: var(--dc-primary);
  color: #ffffff;
}

.theme-option:focus-visible {
  outline: 2px solid var(--dc-primary-2);
  outline-offset: 2px;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff !important;
  background: var(--dc-primary);
  border: 1px solid var(--dc-primary);
  border-radius: var(--dc-radius-sm);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 12px 14px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-phone:hover {
  color: #fff !important;
  background: var(--dc-primary-2);
}

.site-main {
  padding-top: 76px;
}

.hero-section,
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--dc-hero-overlay), url("../images/bg1.jpg") center/cover no-repeat;
}

.page-hero {
  background-image: var(--dc-hero-overlay), url("../images/bg11.jpg");
}

.hero-section .container,
.page-hero .container {
  position: relative;
  z-index: 2;
}

.hero-section {
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 82px 0 74px;
}

.page-hero {
  padding: 92px 0 72px;
}

.hero-kicker,
.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--dc-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-kicker::before,
.section-kicker::before,
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 2px;
  background: currentColor;
}

.hero-title,
.page-title {
  max-width: 760px;
  color: #ffffff !important;
  font-size: 48px;
  line-height: 1.08;
  margin-bottom: 22px;
}

.hero-lead,
.page-lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 19px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-grid {
  align-items: center;
}

.hero-section .region-note,
.page-hero .region-note {
  max-width: 720px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.6;
}

.content-layout > * {
  min-width: 0;
}

.contact-list a {
  min-width: 0;
  overflow-wrap: anywhere;
}

.content-panel h2,
.faq-panel summary {
  overflow-wrap: anywhere;
}

.hero-panel,
.contact-card,
.content-panel,
.service-card,
.practice-card,
.faq-panel,
.step-card,
.region-card,
.stat-card {
  background: var(--dc-surface);
  border: 1px solid var(--dc-border);
  border-radius: var(--dc-radius);
  box-shadow: var(--dc-shadow-soft);
}

.hero-panel {
  padding: 34px;
}

.hero-panel h2,
.hero-panel h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.hero-panel p {
  margin-bottom: 20px;
}

.trust-list {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
}

.trust-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--dc-text);
  font-size: 15px;
  line-height: 1.5;
}

.trust-list i {
  color: var(--dc-primary);
  margin-top: 4px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-primary-dc,
.btn-secondary-dc,
.btn-link-dc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--dc-radius-sm);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  padding: 15px 20px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-primary-dc {
  background: var(--dc-primary);
  border: 1px solid var(--dc-primary);
  color: #ffffff !important;
}

.btn-primary-dc:hover,
.btn-primary-dc:focus {
  background: var(--dc-primary-2);
  border-color: var(--dc-primary-2);
  color: #ffffff !important;
}

.btn-secondary-dc {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: #ffffff !important;
}

.btn-secondary-dc:hover,
.btn-secondary-dc:focus {
  background: #ffffff;
  color: var(--dc-primary) !important;
}

.btn-link-dc {
  border: 1px solid var(--dc-border-strong);
  color: var(--dc-heading) !important;
  background: var(--dc-surface);
}

.btn-link-dc:hover,
.btn-link-dc:focus {
  border-color: var(--dc-primary);
  color: var(--dc-primary) !important;
}

html[data-theme="dark"] .btn-secondary-dc:hover,
html[data-theme="dark"] .btn-secondary-dc:focus {
  color: #14506c !important;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

.hero-meta span,
.topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--dc-radius-sm);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 10px;
}

.dc-section {
  padding: 86px 0;
}

.dc-section.alt {
  background: var(--dc-surface-soft);
}

html[data-theme="dark"] .dc-section.alt {
  background: #202b33;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading.center .section-kicker {
  justify-content: center;
}

.section-heading h2 {
  font-size: 36px;
  margin-bottom: 14px;
}

.section-heading p {
  font-size: 18px;
  line-height: 1.65;
}

.practice-card {
  height: 100%;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--dc-shadow);
}

.practice-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.practice-card-body {
  padding: 24px;
}

.practice-card h3,
.service-card h3,
.content-panel h3,
.step-card h3,
.region-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.practice-card p,
.service-card p,
.content-panel p,
.region-card p,
.step-card p {
  font-size: 16px;
  line-height: 1.65;
}

.practice-card.featured {
  border-color: var(--dc-primary);
}

.practice-label {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 9px;
  border-radius: var(--dc-radius-sm);
  background: var(--dc-surface-strong);
  color: var(--dc-primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.content-panel,
.contact-card,
.faq-panel {
  padding: 30px;
}

.content-panel + .content-panel {
  margin-top: 22px;
}

.service-grid,
.region-grid,
.steps-grid,
.stat-grid {
  display: grid;
  gap: 20px;
}

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

.steps-grid,
.region-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.service-card,
.step-card,
.region-card,
.stat-card {
  padding: 24px;
  height: 100%;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card a {
  margin-top: auto;
  font-weight: 800;
}

.service-card i,
.step-card i,
.contact-list i {
  color: var(--dc-primary);
}

.stat-card strong {
  display: block;
  color: var(--dc-heading);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card span {
  color: var(--dc-muted);
  font-weight: 700;
}

.check-list,
.contact-list,
.topic-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.check-list li,
.contact-list li,
.topic-list li {
  color: var(--dc-muted);
  display: flex;
  gap: 10px;
  font-size: 16px;
  line-height: 1.55;
}

.check-list i {
  color: var(--dc-primary);
  margin-top: 5px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--dc-hero-overlay), url("../images/bg2.jpg") center/cover no-repeat;
  padding: 76px 0;
}

.cta-band h2,
.cta-band p {
  color: #ffffff !important;
}

.cta-band h2 {
  font-size: 36px;
  margin-bottom: 14px;
}

.cta-band p {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.65;
}

.breadcrumb-dc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.breadcrumb-dc a,
.breadcrumb-dc span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.breadcrumb-dc span {
  color: #ffffff;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.side-panel {
  position: sticky;
  top: 104px;
}

.side-panel .content-panel {
  padding: 24px;
}

.side-links {
  display: grid;
  gap: 8px;
  margin: 0;
}

.side-links a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--dc-border);
  color: var(--dc-heading);
  font-weight: 700;
  padding: 10px 0;
}

.side-links a:last-child {
  border-bottom: 0;
}

.faq-panel details {
  border-bottom: 1px solid var(--dc-border);
  padding: 16px 0;
}

.faq-panel details:last-child {
  border-bottom: 0;
}

.faq-panel summary {
  color: var(--dc-heading);
  cursor: pointer;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  list-style: none;
}

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

.faq-panel summary::after {
  content: "+";
  float: right;
  font-weight: 800;
}

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

.faq-panel p {
  margin: 12px 0 0;
}

.contact-form-dc input,
.contact-form-dc textarea {
  width: 100%;
  height: auto;
  margin-bottom: 12px;
  padding: 14px 14px;
  color: var(--dc-text);
  background: var(--dc-surface-soft);
  border: 1px solid var(--dc-border) !important;
  border-radius: var(--dc-radius-sm);
  font-size: 15px;
}

html[data-theme="dark"] .contact-form-dc input,
html[data-theme="dark"] .contact-form-dc textarea {
  background: #1f2a33;
  color: #f6fafc;
  border-color: var(--dc-border-strong) !important;
}

html[data-theme="dark"] .contact-form-dc input::placeholder,
html[data-theme="dark"] .contact-form-dc textarea::placeholder {
  color: #bac7ce;
  opacity: 1;
}

.contact-form-dc textarea {
  min-height: 116px;
  resize: vertical;
}

.contact-form-dc input:focus,
.contact-form-dc textarea:focus {
  outline: 2px solid var(--dc-primary-2);
  outline-offset: 2px;
}

.contact-form-dc button {
  width: 100%;
}

.contact-form-dc button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.contact-form-dc .form-status {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.form-status:empty {
  display: none;
}

.map-frame {
  overflow: hidden;
  border: 1px solid var(--dc-border);
  border-radius: var(--dc-radius);
  box-shadow: var(--dc-shadow-soft);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 420px;
}

.site-footer {
  background: var(--dc-surface-strong);
  border-top: 1px solid var(--dc-border);
  padding: 52px 0 0;
}

html[data-theme="dark"] .site-footer {
  background: #1f2a33;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 36px;
}

.footer-logo {
  max-width: 190px;
  margin-bottom: 16px;
}

html[data-theme="dark"] .footer-logo {
  background: #ffffff;
  border-radius: var(--dc-radius-sm);
  padding: 6px;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
}

.footer-links a {
  color: var(--dc-muted);
  font-weight: 700;
}

.footer-bottom {
  background: var(--dc-surface);
  border-top: 1px solid var(--dc-border);
  padding: 20px 0;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 1100;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #1f9d55;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
  font-size: 26px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1199px) {
  .site-header .navbar-nav > li > a {
    font-size: 14px !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
  }

  .nav-actions {
    gap: 8px;
  }
}

@media (max-width: 991px) {
  .site-main {
    padding-top: 68px;
  }

  .site-header .navbar-collapse {
    background: var(--dc-surface);
    border: 1px solid var(--dc-border);
    border-radius: var(--dc-radius);
    box-shadow: var(--dc-shadow-soft);
    margin-top: 12px;
    padding: 14px;
  }

  .nav-actions {
    align-items: stretch;
    flex-direction: column;
    margin: 12px 0 0;
  }

  .theme-switcher {
    justify-content: space-between;
  }

  .theme-option {
    flex: 1 1 0;
  }

  .nav-phone {
    justify-content: center;
  }

  .hero-section {
    min-height: auto;
    padding: 62px 0;
  }

  .hero-title,
  .page-title {
    font-size: 38px;
  }

  .hero-panel {
    margin-top: 32px;
  }

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

  .content-layout {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }

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

@media (max-width: 767px) {
  .site-header .navbar-brand {
    max-width: 160px;
  }

  .hero-section,
  .page-hero,
  .dc-section,
  .cta-band {
    padding-left: 0;
    padding-right: 0;
  }

  .hero-title,
  .page-title {
    font-size: 32px;
  }

  .section-heading h2,
  .cta-band h2 {
    font-size: 29px;
  }

  .hero-lead,
  .page-lead,
  .section-heading p,
  .cta-band p {
    font-size: 17px;
  }

  .hero-actions,
  .section-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn-primary-dc,
  .btn-secondary-dc,
  .btn-link-dc {
    width: 100%;
  }

  .service-grid,
  .steps-grid,
  .region-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .content-panel,
  .contact-card,
  .faq-panel,
  .hero-panel {
    padding: 24px;
  }

  .dc-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }
}
