:root {
  --brand: #0c4f54;
  --brand-dark: #08373a;
  --brand-soft: #e6f3f4;
  --brand-accent: #1d7a84;
  --text: #18323a;
  --muted: #5f6f76;
  --surface: #ffffff;
  --surface-alt: #f7fbfc;
  --border: #d6e2e5;
  --danger-soft: #fff3f3;
  --shadow-sm: 0 10px 30px rgba(9, 46, 52, 0.08);
  --shadow-md: 0 18px 40px rgba(9, 46, 52, 0.12);
  --radius: 1.25rem;
  --radius-sm: 1rem;
  --bs-primary: var(--brand);
  --bs-primary-rgb: 12, 79, 84;
  --bs-link-color-rgb: 12, 79, 84;
  --bs-link-hover-color-rgb: 8, 55, 58;
  --bs-body-color: var(--text);
  --bs-body-bg: #ffffff;
  --bs-border-color: var(--border);
  --bs-secondary-color: var(--muted);
  --bs-border-radius: var(--radius-sm);
  --bs-border-radius-lg: var(--radius);
  --bs-font-sans-serif: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  color: var(--text);
  background: linear-gradient(180deg, #fcfefe 0%, #f8fbfc 100%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  padding-top: 5.55rem;
}

a { text-underline-offset: 0.18em; }

a:hover { text-decoration-thickness: 0.1em; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--brand-dark);
  color: #fff;
  z-index: 1080;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  transition: top 0.2s ease;
  text-decoration: none;
}

.skip-link:focus { top: 1rem; color: #fff; }

.topbar {
  background: var(--brand-dark);
  color: rgba(255,255,255,0.92);
  font-size: 0.92rem;
}

.topbar a {
  color: #fff;
  text-decoration: none;
}

.topbar a:hover { color: #d9f3f4; }

.navbar {
  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: saturate(170%) blur(18px);
  border-bottom: 1px solid rgba(214, 226, 229, 0.9);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand-dark);
}

.navbar .nav-link {
  font-weight: 600;
  color: var(--text);
  border-radius: 999px;
  padding-inline: 0.95rem !important;
  transition: all 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus-visible,
.navbar .nav-link.active {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.offcanvas { max-width: 320px; }

.page-header,
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.20), transparent 34%),
    radial-gradient(circle at 15% 85%, rgba(255,255,255,0.12), transparent 28%),
    linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 55%, #1d7a84 100%);
}

.hero { padding: 6.5rem 0 5rem; }

.page-header { padding: 5rem 0 3.25rem; }

.hero::after,
.page-header::after {
  content: "";
  position: absolute;
  inset: auto -10% -42% auto;
  width: min(520px, 52vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255,255,255,0.20), rgba(255,255,255,0));
  filter: blur(6px);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.95);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero h1,
.page-header h1 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.hero h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); }

.page-header h1 { font-size: clamp(2rem, 4vw, 3.2rem); }

.hero .lead,
.page-header .lead {
  color: rgba(255,255,255,0.88);
  max-width: 44rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-card,
.surface-card,
.feature-card,
.team-card,
.location-card,
.contact-card,
.legal-card,
.news-card {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(214, 226, 229, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.hero-card {
  padding: 1.25rem;
  color: var(--text);
}

.hero-card .small-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 700;
}

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

.btn-lg { padding: 0.95rem 1.35rem; }

.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 12px 24px rgba(12, 79, 84, 0.14);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  color: var(--brand-dark);
  background: #fff;
}

.btn-outline-primary {
  border-color: rgba(12, 79, 84, 0.28);
  color: var(--brand);
  background: rgba(12, 79, 84, 0.03);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus-visible {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

section { padding: 5rem 0; }

.section-heading { max-width: 44rem; margin-bottom: 2rem; }

.section-heading .kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--brand);
  font-weight: 800;
}

.section-heading h2 {
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.stat-card,
.service-mini,
.icon-badge {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.stat-card {
  padding: 1.35rem;
  height: 100%;
}

.stat-card h3 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: var(--brand-dark);
}

.stat-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.icon-wrap,
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: var(--brand-soft);
  color: var(--brand-dark);
  flex-shrink: 0;
}

.icon-badge { width: 2.75rem; height: 2.75rem; }

.feature-card,
.team-card,
.location-card,
.contact-card,
.news-card,
.legal-card {
  padding: 1.5rem;
  height: 100%;
}

.feature-card h3,
.team-card h3,
.location-card h3,
.contact-card h3,
.news-card h3,
.legal-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 1rem;
  margin-bottom: 0.65rem;
}

.feature-card ul,
.contact-list,
.service-list {
  padding-left: 0;
  list-style: none;
  margin-bottom: 0;
}

.feature-card li,
.contact-list li,
.service-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(214, 226, 229, 0.8);
}

.feature-card li:last-child,
.contact-list li:last-child,
.service-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.team-card img {
  width: 100%;
  max-width: 210px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--brand-soft);
  box-shadow: 0 14px 32px rgba(12, 79, 84, 0.14);
  background: #fff;
}

.team-card .role {
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.muted { color: var(--muted); }

.check-list,
.bullet-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.check-list li,
.bullet-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.75rem;
}

.check-list li::before {
  content: "\F26A";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 0.02rem;
  color: var(--brand);
}

.bullet-list li::before {
  content: "\2022";
  position: absolute;
  left: 0.35rem;
  top: 0;
  color: var(--brand);
  font-size: 1.1rem;
  font-weight: 700;
}

.service-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 700;
  margin: 0.35rem 0.35rem 0 0;
}

.cta-band {
  background: linear-gradient(135deg, #f3fbfb, #ffffff);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 0.2rem);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.location-card address,
.contact-card address {
  margin-bottom: 1rem;
  color: var(--muted);
  font-style: normal;
  line-height: 1.75;
}

.contact-meta,
.location-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.contact-meta .badge,
.location-meta .badge {
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.table-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.table-card .table {
  margin-bottom: 0;
  --bs-table-bg: transparent;
}

.table-card .table th {
  width: 38%;
  color: var(--text);
  font-weight: 700;
}

.table-card .table td {
  color: var(--muted);
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(214, 226, 229, 0.9);
  box-shadow: var(--shadow-sm);
  background: #f1f5f6;
}

.alert-emergency {
  border: 1px solid rgba(181, 42, 42, 0.15);
  background: linear-gradient(135deg, #fff6f6, #ffffff);
  color: #5e2020;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.alert-soft {
  border: 1px solid rgba(12, 79, 84, 0.10);
  background: linear-gradient(135deg, #f4fcfd, #ffffff);
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.accordion {
  --bs-accordion-border-color: var(--border);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(12, 79, 84, 0.12);
  --bs-accordion-active-bg: var(--brand-soft);
  --bs-accordion-active-color: var(--brand-dark);
  --bs-accordion-btn-icon-width: 1.1rem;
}

.accordion-item {
  border-radius: var(--radius-sm) !important;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.accordion-button {
  font-weight: 700;
  padding: 1.15rem 1.25rem;
}

.accordion-button:not(.collapsed) {
  box-shadow: none;
}

.badge-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(12, 79, 84, 0.15);
  color: var(--brand-dark);
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(12, 79, 84, 0.04);
  font-weight: 700;
}

.legal-nav {
  position: sticky;
  top: 6.8rem;
}

.footer {
  background: #0a1f22;
  color: rgba(255,255,255,0.82);
  padding: 3.8rem 0 1.5rem;
  margin-top: 2rem;
}

.footer h2,
.footer h3 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer a {
  color: rgba(255,255,255,0.86);
  text-decoration: none;
}

.footer a:hover { color: #fff; text-decoration: underline; }

.footer .subfooter {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 2.5rem;
  padding-top: 1rem;
  font-size: 0.94rem;
  color: rgba(255,255,255,0.62);
}

.news-empty {
  background: linear-gradient(135deg, #f8fcfd, #ffffff);
  border: 1px dashed rgba(12, 79, 84, 0.16);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.callout-grid > * { height: 100%; }

.sticky-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1025;
  display: none;
}

.sticky-cta .btn {
  box-shadow: var(--shadow-md);
}

.table > :not(caption) > * > * {
  padding: 0.85rem 1rem;
}

.form-hint {
  color: var(--muted);
  font-size: 0.95rem;
}

.breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255,255,255,0.75);
  --bs-breadcrumb-item-active-color: rgba(255,255,255,0.85);
  margin-bottom: 0.75rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.95);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.visually-subtle {
  color: var(--muted);
  font-size: 0.96rem;
}

:focus-visible {
  outline: 3px solid rgba(12, 79, 84, 0.24);
  outline-offset: 2px;
  border-radius: 0.65rem;
}

@media (max-width: 991.98px) {
  body { padding-top: 4.85rem; }
  .hero { padding-top: 5.4rem; }
  .page-header { padding-top: 4.5rem; }
  .legal-nav { position: static; }
  .sticky-cta { display: block; }
}

@media (max-width: 767.98px) {
  section { padding: 4rem 0; }
  .hero,
  .page-header { text-align: left; }
  .hero-card { margin-top: 1.25rem; }
  .table-card .table th { width: 44%; }
}

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