:root {
  --bg: #f4f8fb;
  --surface: #ffffff;
  --surface-alt: #eff6f8;
  --surface-dark: #0d1f2d;
  --text: #14303a;
  --text-muted: #50646f;
  --border: #d9e6eb;
  --primary: #0d5c63;
  --primary-dark: #083c42;
  --accent: #1f8b7b;
  --shadow: 0 18px 45px rgba(13, 31, 45, 0.09);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link,
.sr-only {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--surface-dark);
  color: #fff;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(13, 92, 99, 0.05), rgba(13, 92, 99, 0.02));
}

.section-dark {
  background: radial-gradient(circle at top left, #1a5065, #0d1f2d 60%);
  color: #eff7fa;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 248, 251, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 92, 99, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-weight: 800;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.primary-nav a {
  font-weight: 600;
  color: var(--text);
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--surface-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(13, 92, 99, 0.2);
}

.button-secondary {
  background: transparent;
  color: var(--primary);
  border-color: rgba(13, 92, 99, 0.18);
  box-shadow: none;
}

.button-sm {
  padding: 11px 18px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.83rem;
}

.hero {
  padding: 84px 0 48px;
  background:
    radial-gradient(circle at top right, rgba(31, 139, 123, 0.12), transparent 32%),
    linear-gradient(180deg, #f6fbfc 0%, #f4f8fb 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: center;
}

.hero h1,
.section h2 {
  margin: 0 0 18px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  max-width: 12ch;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.lead {
  font-size: 1.12rem;
  max-width: 62ch;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-highlights li {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(13, 92, 99, 0.08);
  color: var(--primary-dark);
  font-weight: 600;
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.visual-card {
  margin: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(13, 92, 99, 0.07), rgba(13, 92, 99, 0.03));
  border: 1px solid rgba(13, 92, 99, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.visual-card img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-visual img {
  min-height: 260px;
  object-fit: cover;
}

.section-visual img {
  min-height: 230px;
  object-fit: cover;
}

.page-visual {
  margin-top: 26px;
}

.page-visual img {
  min-height: 280px;
  object-fit: cover;
}

.hero-card,
.service-card,
.info-card,
.insight-card,
.testimonial-card,
.faq-item,
.contact-form,
.timeline article,
.stats-grid article,
.feature-panel,
.checklist > div {
  background: var(--surface);
  border: 1px solid rgba(13, 92, 99, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 30px;
}

.hero-card-primary {
  background: linear-gradient(160deg, #0d5c63, #13384e);
  color: #f4fcff;
}

.hero-card-primary p {
  color: rgba(244, 252, 255, 0.86);
}

.card-label {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a9f0e6;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero-metrics article {
  padding: 20px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid rgba(13, 92, 99, 0.08);
}

.hero-metrics strong,
.stats-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 2rem;
  line-height: 1;
  color: var(--primary);
}

.trust-bar {
  padding: 20px 0;
  border-top: 1px solid rgba(13, 92, 99, 0.08);
  border-bottom: 1px solid rgba(13, 92, 99, 0.08);
  background: rgba(255, 255, 255, 0.75);
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  text-align: center;
  font-weight: 700;
  color: var(--text-muted);
}

.two-column,
.split-feature,
.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
  align-items: start;
}

.info-stack,
.checklist {
  display: grid;
  gap: 18px;
}

.info-card,
.service-card,
.insight-card,
.testimonial-card,
.stats-grid article,
.feature-panel,
.checklist > div,
.contact-form,
.faq-item {
  padding: 28px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  color: var(--text-muted);
}

.card-grid,
.expertise-grid,
.insight-grid,
.testimonial-grid,
.stats-grid {
  display: grid;
  gap: 22px;
}

.card-grid,
.expertise-grid,
.insight-grid,
.testimonial-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card h3,
.expertise-grid h3,
.insight-card h3,
.testimonial-card footer,
.checklist h3,
.timeline h3 {
  margin-top: 0;
}

.service-card p,
.expertise-grid p,
.insight-card p,
.checklist p,
.stats-grid span,
.testimonial-card p,
.faq-answer p,
.site-footer p,
.site-footer li,
.site-footer a,
.info-card p {
  color: var(--text-muted);
}

.expertise-grid article {
  padding: 0 0 0 24px;
  border-left: 3px solid rgba(13, 92, 99, 0.18);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.timeline article {
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(169, 240, 230, 0.16);
  color: #a9f0e6;
  font-weight: 800;
}

.feature-panel {
  background: linear-gradient(180deg, #0f3d48, #0d5c63);
  color: #f2fcff;
}

.feature-panel p:not(.eyebrow) {
  color: rgba(242, 252, 255, 0.85);
}

.insight-card span {
  display: inline-block;
  margin-bottom: 14px;
  font-weight: 700;
  color: var(--accent);
}

.insight-card a {
  color: var(--primary);
  font-weight: 700;
}

.testimonial-section,
.stats-section {
  background: rgba(13, 92, 99, 0.03);
}

.testimonial-card {
  margin: 0;
}

.testimonial-card p {
  font-size: 1.05rem;
}

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

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: 0;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.faq-question::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--accent);
}

.faq-question[aria-expanded="true"]::after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer p {
  margin-bottom: 0;
  padding-top: 18px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fdfefe;
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(31, 139, 123, 0.24);
  border-color: var(--accent);
}

.site-footer {
  padding: 36px 0 24px;
  background: #0b1722;
  color: #edf5fa;
}

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

.site-footer h3 {
  margin-top: 0;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.brand-footer .brand-text span,
.site-footer p,
.site-footer a,
.site-footer li {
  color: rgba(237, 245, 250, 0.75);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(237, 245, 250, 0.12);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.section-actions {
  margin-top: 28px;
}

.contact-highlights {
  margin-top: 20px;
  display: grid;
  gap: 8px;
  color: var(--text-muted);
}

.page-hero {
  padding: 92px 0 40px;
  background:
    radial-gradient(circle at top right, rgba(31, 139, 123, 0.12), transparent 28%),
    linear-gradient(180deg, #f6fbfc 0%, #f4f8fb 100%);
}

.page-hero.compact {
  padding-bottom: 20px;
}

.breadcrumbs {
  margin-bottom: 18px;
  color: var(--text-muted);
  font-weight: 600;
}

.breadcrumbs a {
  color: var(--primary);
}

.page-hero p {
  max-width: 70ch;
}

.content-page {
  padding: 36px 0 92px;
}

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

.prose,
.sidebar-card,
.article-card,
.contact-card,
.legal-card,
.office-card {
  background: var(--surface);
  border: 1px solid rgba(13, 92, 99, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.prose,
.legal-card {
  padding: 34px;
}

.prose h2,
.prose h3,
.legal-card h2,
.legal-card h3 {
  margin-top: 0;
}

.prose h2 + p,
.legal-card h2 + p {
  margin-top: 0;
}

.prose p,
.prose li,
.legal-card p,
.legal-card li {
  color: var(--text-muted);
}

.prose ul,
.legal-card ul {
  padding-left: 20px;
}

.sidebar-stack,
.office-grid,
.article-grid,
.contact-grid,
.info-grid {
  display: grid;
  gap: 22px;
}

.sidebar-card,
.article-card,
.contact-card,
.office-card {
  padding: 26px;
}

.sidebar-card h3,
.article-card h3,
.contact-card h3,
.office-card h3 {
  margin-top: 0;
}

.sidebar-card p,
.article-card p,
.contact-card p,
.office-card p,
.sidebar-card li {
  color: var(--text-muted);
}

.sidebar-card ul {
  margin: 0;
  padding-left: 20px;
}

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

.article-grouping + .article-grouping {
  margin-top: 42px;
}

.compact-heading {
  margin-bottom: 22px;
}

.article-grouping .article-grid {
  grid-template-columns: repeat(2, 1fr);
}

.article-grid-large {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}

.article-card {
  overflow: hidden;
}

.article-card-media {
  margin: -26px -26px 20px;
}

.article-card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 14px;
  color: var(--text-muted);
}

.article-card-footer small {
  color: var(--text-muted);
}

.searchable-article.is-hidden {
  display: none;
}

.search-panel {
  margin-bottom: 28px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid rgba(13, 92, 99, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.search-label {
  display: block;
  margin-bottom: 12px;
  font-weight: 700;
}

.search-input {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
}

.search-input:focus {
  outline: 2px solid rgba(31, 139, 123, 0.25);
  border-color: var(--accent);
}

.search-helper {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
  color: var(--text-muted);
}

.search-helper p {
  margin: 0;
}

.search-helper a {
  color: var(--primary);
  font-weight: 700;
}

.filter-chip-row,
.category-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.filter-chip-row {
  margin-top: 18px;
}

.filter-chip {
  padding: 11px 16px;
  border: 1px solid rgba(13, 92, 99, 0.14);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-weight: 600;
}

.filter-chip.is-active,
.filter-chip:hover,
.filter-chip:focus-visible {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: transparent;
  color: #fff;
}

.category-chip-grid {
  margin-top: 26px;
}

.category-chip {
  flex: 1 1 210px;
  min-width: 210px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid rgba(13, 92, 99, 0.08);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.category-chip img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 14px;
  border-radius: 16px;
}

.category-chip strong,
.category-chip span,
.category-chip small {
  display: block;
}

.category-chip span,
.category-chip small {
  color: var(--text-muted);
}

.category-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.category-card {
  min-width: 0;
}

.category-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.category-visual img,
.article-hero-visual img {
  min-height: 280px;
  object-fit: cover;
}

.search-empty {
  margin: 22px 0 0;
  color: var(--text-muted);
  font-weight: 600;
}

.article-card span,
.meta-list span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-weight: 700;
}

.article-card a {
  color: var(--primary);
  font-weight: 700;
}

.meta-list {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 18px 0 0;
}

.meta-list strong {
  color: var(--text);
}

.office-grid,
.contact-grid,
.info-grid {
  grid-template-columns: repeat(3, 1fr);
}

.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--text-muted);
}

.inline-cta {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.article-header {
  margin-bottom: 28px;
}

.article-header h1 {
  margin: 0 0 16px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
}

.article-header p {
  color: var(--text-muted);
}

.article-layout-grid {
  align-items: start;
}

.article-longform {
  display: grid;
  gap: 28px;
}

.article-toc {
  padding: 22px 24px;
  background: rgba(13, 92, 99, 0.05);
  border: 1px solid rgba(13, 92, 99, 0.08);
  border-radius: 20px;
}

.article-toc strong {
  display: block;
  margin-bottom: 12px;
}

.article-toc ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.article-toc a {
  color: var(--primary);
  font-weight: 700;
}

.article-inline-visual {
  margin: 0;
  background: var(--surface);
  border: 1px solid rgba(13, 92, 99, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.article-inline-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-inline-visual figcaption {
  padding: 16px 18px 20px;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.article-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.readmore-panel {
  border: 1px solid rgba(13, 92, 99, 0.1);
  border-radius: 20px;
  background: rgba(13, 92, 99, 0.03);
  padding: 18px 20px;
}

.readmore-panel summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--primary);
}

.readmore-content {
  margin-top: 16px;
}

.readmore-content p:last-child {
  margin-bottom: 0;
}

.readmore-section {
  margin-top: 6px;
}

.related-article-grid {
  margin-top: 0;
}

.compact-article-card h3 {
  font-size: 1.1rem;
}

.compact-article-card p {
  font-size: 0.96rem;
}

.article-sidebar {
  position: sticky;
  top: 102px;
}

.article-section + .article-section {
  margin-top: 28px;
}

.article-section h2 {
  margin-bottom: 12px;
}

.callout {
  margin-top: 24px;
  padding: 22px;
  border-radius: var(--radius-sm);
  background: rgba(13, 92, 99, 0.06);
  border-left: 4px solid var(--accent);
}

.legal-layout {
  display: grid;
  gap: 24px;
}

@media (max-width: 1100px) {
  .hero-grid,
  .two-column,
  .split-feature,
  .cta-grid,
  .footer-grid,
  .card-grid,
  .expertise-grid,
  .insight-grid,
  .testimonial-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-metrics,
  .stats-grid,
  .trust-items,
  .office-grid,
  .contact-grid,
  .info-grid,
  .article-grid,
  .content-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .office-grid,
  .contact-grid,
  .info-grid,
  .article-grid,
  .article-grid-large,
  .category-card-grid,
  .category-hero-grid,
  .article-visual-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .section {
    padding: 76px 0;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 80px;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(13, 92, 99, 0.1);
    box-shadow: var(--shadow);
  }

  .primary-nav.open {
    display: flex;
  }

  .hero-grid,
  .two-column,
  .split-feature,
  .cta-grid,
  .footer-grid,
  .card-grid,
  .expertise-grid,
  .insight-grid,
  .testimonial-grid,
  .timeline,
  .hero-metrics,
  .stats-grid,
  .trust-items,
  .office-grid,
  .contact-grid,
  .info-grid,
  .article-grid,
  .article-grid-large,
  .category-card-grid,
  .category-hero-grid,
  .article-visual-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 56px;
  }

  .hero h1 {
    max-width: none;
  }

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

  .button {
    width: 100%;
  }

  .search-helper,
  .article-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-sidebar {
    position: static;
  }

  .info-card,
  .service-card,
  .insight-card,
  .testimonial-card,
  .stats-grid article,
  .feature-panel,
  .checklist > div,
  .contact-form,
  .faq-item,
  .hero-card,
  .sidebar-card,
  .article-card,
  .contact-card,
  .office-card,
  .prose,
  .legal-card {
    padding: 22px;
  }
}
