:root {
  --bg: #006b4f;
  --surface: #0b7a5c;
  --text: #ffd166;
  --muted: #f2c14e;
  --primary: #c89b3c;
  --primary-dark: #a77f2f;
  --border: #d4af37;
  --shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  --radius: 16px;
  --container: 1160px;
  --gold: #ffd166;
  --gold-light: #ffd166;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.55;
  position: relative;
}

.site-header, main, .site-footer, .topbar { position: relative; z-index: 1; }

.topbar {
  background: linear-gradient(180deg, rgba(4,11,34,0.98), rgba(3,8,27,0.98));
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 90;
  transition: background 240ms ease, box-shadow 240ms ease, transform 260ms ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5), 0 1px 0 rgba(198,162,95,0.15);
}

.topbar--scrolled {
  background: rgba(4,11,34,0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(4,15,11,0.36);
}

.topbar--hidden .topbar__inner {
  min-height: 0;
  padding: 0.24rem 0;
  gap: 0.2rem;
}

.topbar--hidden .topbar__nav {
  border-top: 0;
  padding-top: 0.08rem;
}

.topbar--hidden .topbar__brand,
.topbar--hidden .topbar__items {
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  margin: 0;
}

.topbar__inner {
  min-height: 84px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 0.4rem 0;
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #f0f7f3;
  text-decoration: none;
  min-width: 280px;
  max-width: 320px;
  padding-right: 1rem;
  max-height: 96px;
  overflow: hidden;
  transform: translateY(0);
  opacity: 1;
  transition: max-height 240ms ease, opacity 200ms ease, transform 240ms ease;
  will-change: max-height, opacity, transform;
}

.topbar__avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 2px solid var(--gold);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(198,162,95,0.4);
}

.topbar__brand-text {
  font-family: 'Manrope', sans-serif;
  font-size: 1.08rem;
  line-height: 1.18;
  font-weight: 700;
  color: var(--gold-light);
}

.topbar__items {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: stretch;
  max-height: 220px;
  overflow: hidden;
  transform: translateY(0);
  opacity: 1;
  transition: max-height 240ms ease, opacity 200ms ease, transform 240ms ease;
  will-change: max-height, opacity, transform;
}

.topbar__nav {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(198,162,95,0.2);
}

.topbar__nav a {
  color: var(--gold-light);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.topbar__item {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.4rem 0.85rem;
  min-height: 64px;
  color: #e8f4ef;
  text-decoration: none;
  border-left: 1px solid rgba(198,162,95,0.18);
  flex: 1 1 0;
  transition: background 0.2s;
}

.topbar__item:first-child { border-left: 1px solid rgba(198,162,95,0.18); }
.topbar__item:hover { background: rgba(198,162,95,0.07); text-decoration: none; color: #fff; }
.topbar__item:hover .topbar__icon { opacity: 1; }

.topbar__icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(70%) sepia(92%) saturate(2799%) hue-rotate(175deg) brightness(106%) contrast(103%) drop-shadow(0 0 8px rgba(30,153,255,0.75));
}
.topbar__meta { display: flex; align-items: center; min-width: 0; }

.topbar__label {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
  color: #b7d2c6;
  line-height: 1.2;
}

.topbar__value {
  font-size: 0.92rem;
  line-height: 1.18;
  font-weight: 600;
  color: #f2fbf7;
  overflow-wrap: anywhere;
}

.official-photo {
  width: min(100%, 155px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--gold);
  box-shadow: 0 8px 24px rgba(198,162,95,0.25);
}

.contact-profile {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0.9rem;
  align-items: start;
  margin-bottom: 0.85rem;
}

.contact-profile .official-photo {
  width: 80px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

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

.btn {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 0.72rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #2f9c77 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(29,122,90,0.32);
}

.btn-primary:hover { background: linear-gradient(135deg, var(--primary-dark) 0%, #1f765a 100%); }

.btn-secondary {
  background: rgba(198,162,95,0.12);
  color: var(--gold-light);
  border: 1px solid rgba(198,162,95,0.35);
}

.btn-secondary:hover { background: rgba(198,162,95,0.22); }

.btn-light {
  background: rgba(255,255,255,0.07);
  color: #eaf5ef;
  border: 1px solid rgba(255,255,255,0.14);
}

.btn-gold {
  background: linear-gradient(135deg, #c6a25f 0%, #e8c97c 100%);
  color: #0d2419;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(198,162,95,0.35);
}

main section { padding: 3.25rem 0; }

.hero { padding-top: 3.2rem; padding-bottom: 2.2rem; }

.home-trust-section { padding-top: 1.1rem; }
.services-intro-section { padding-bottom: 1.25rem; }
.services-cards-section { padding-top: 0.95rem; }

.hero-wrap {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.hero-card {
  background: linear-gradient(165deg, rgba(10,23,65,0.96), rgba(6,14,42,0.94));
  border: 1px solid rgba(198,162,95,0.3);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(6,18,13,0.4), inset 0 1px 0 rgba(198,162,95,0.1);
  padding: 1.6rem;
  color: #eaf6ef;
}

.hero-lead,
.hero-quick {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  color: var(--text);
}

.hero-lead { padding: 2rem 1.9rem; }
.hero-quick { padding: 1.55rem; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.82rem;
  border-radius: 999px;
  background: #E7D7C3;
  color: #5A3E22;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.95rem;
}

.hero h1 {
  font-size: clamp(18.9rem, 56.4vw, 43.2rem);
  line-height: 0.89;
  letter-spacing: -0.02em;
}

.hero p {
  color: var(--muted);
  max-width: 760px;
}

.hero-facts {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.hero-facts li {
  position: relative;
  color: var(--text);
  font-weight: 600;
  padding-left: 0.95rem;
}

.hero-facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.47em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #6B4E2E;
}

.hero-quick h2 {
  margin: 0 0 0.45rem;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  color: var(--text);
}

.hero-quick p {
  margin: 0 0 0.9rem;
}

.hero-quick .consult-form {
  gap: 0.62rem;
}

.hero-quick .consult-form label {
  display: grid;
  gap: 0.32rem;
  font-weight: 600;
  color: var(--text);
  font-size: 0.92rem;
}

.hero-quick input,
.hero-quick textarea {
  background: #FBF6EF;
  border-color: #D9CBB8;
}

.hero-quick textarea {
  min-height: 100px;
}

.hero-quick .btn {
  width: 100%;
  margin-top: 0.15rem;
}

.hero-card-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.4rem 1.6rem;
}

.hero-notary-name {
  margin: 0 0 .3rem;
  font-family: Manrope, sans-serif;
  color: var(--gold-light);
  font-size: clamp(1.5rem, 4.2vw, 2rem);
  letter-spacing: 0.01em;
}

.hero-kpi-inline {
  width: 100%;
  margin-top: 0.8rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(142,162,184,0.28);
  display: grid;
  gap: 0.4rem;
}

.hero-kpi-inline p {
  margin: 0;
  padding: 0.46rem 0.56rem;
  border-radius: 10px;
  border: 1px solid rgba(142,162,184,0.2);
  background: rgba(12,28,74,0.38);
  color: #c6dacf;
  font-size: 0.92rem;
}

.hero-kpi-inline strong {
  color: #d9e3ef;
  font-weight: 700;
}

.hero h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.8rem, 6vw, 2.9rem);
  line-height: 1.15;
  margin: 0 0 0.85rem;
  color: #eef8f3;
}

.hero p { color: #b0cfc3; margin: 0 0 1.2rem; }

.actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }

.meta-grid, .services-grid, .why-grid,
.find-grid, .contact-grid, .about-grid { display: grid; gap: 1rem; }

.card {
  background: linear-gradient(165deg, rgba(10,23,65,0.94), rgba(6,14,42,0.92));
  border: 1px solid rgba(198,162,95,0.25);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(6,18,13,0.3);
  padding: 1.35rem;
  color: #eaf6ef;
}

.card h2, .card h3, .card h4 { color: var(--gold-light); }
.card p { color: #c6dacf; }
.card li { color: #c6dacf; }
.card a { color: var(--gold-light); }

.glass-card {
  background: linear-gradient(165deg, rgba(10,23,65,0.94), rgba(6,14,42,0.92));
  border: 1px solid rgba(198,162,95,0.25);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(6,18,13,0.24);
  color: #eaf6ef;
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.glass-card:hover, .glass-card:focus-within {
  border-color: rgba(198,162,95,0.5);
  background: linear-gradient(165deg, rgba(12,28,75,0.95), rgba(8,19,52,0.93));
  box-shadow: 0 12px 28px rgba(6,18,13,0.36);
}

.kpi-title { font-size: 0.86rem; color: #a9c7b8; margin-bottom: 0.3rem; }
.kpi-value {
  font-family: 'Manrope', sans-serif;
  font-size: 1.35rem;
  margin: 0;
  color: var(--gold-light);
}

.section-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.35rem, 3.6vw, 2rem);
  margin: 0 0 0.5rem;
  color: var(--gold-light);
  letter-spacing: -0.01em;
}

.section-subtitle { margin: 0 0 1.2rem; color: #bfd3c9; }

.glass-card .section-title, .glass-card h2, .glass-card h3, .glass-card h4,
.card .section-title, .hero-card .section-title { color: var(--gold-light); }

.glass-card .section-subtitle, .glass-card .notice, .glass-card p, .glass-card li,
.card .section-subtitle, .hero-card p { color: #c6dacf; }

.service-card h3, .why-card h3, .find-card h3 {
  margin-top: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  color: var(--gold-light);
}

.service-card ul, .about-list, .simple-list {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  color: #c6dacf;
}

.service-card li, .about-list li, .simple-list li { margin-bottom: 0.35rem; }

.service-thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0;
}

.service-card .actions { margin-top: 0.7rem; display: grid; grid-template-columns: 1fr; gap: 0.55rem; }

.service-card .btn, .btn[data-service] {
  min-height: 46px;
  width: 100%;
  border-radius: 14px;
  padding: 0.86rem 1rem;
  font-size: 0.97rem;
  font-weight: 700;
}

.service-tile {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(198,162,95,0.4);
  background: #0a1d56;
  min-height: 390px;
}

.service-tile .service-thumb { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }

.service-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,18,54,0.2) 16%, rgba(6,18,54,0.84) 74%);
  z-index: 1;
}

.service-tile h3, .service-tile ul, .service-tile .actions { position: relative; z-index: 2; }

.service-tile h3 { margin-top: 1rem; color: var(--gold-light); font-size: 1.25rem; }
.service-tile ul { color: #d7ece2; min-height: 110px; }
.service-tile .btn-secondary { background: rgba(255,255,255,0.88); }
.service-tile .btn-light { background: rgba(230,241,236,0.9); }

.service-hub-grid { display: grid; gap: 1rem; }

.service-hub-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  border-radius: 18px;
  border: 1px solid rgba(198,162,95,0.35);
  box-shadow: 0 10px 30px rgba(8,28,20,0.32);
  color: #fff;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.service-hub-card--link { cursor: pointer; }

.service-hub-card .service-icon {
  position: relative;
  inset: auto;
  width: 82px;
  height: 82px;
  object-fit: contain;
  display: block;
  margin: 0.2rem auto 0.8rem;
  filter: brightness(0) saturate(100%) invert(70%) sepia(92%) saturate(2799%) hue-rotate(175deg) brightness(106%) contrast(103%) drop-shadow(0 0 12px rgba(30,153,255,0.8));
}

.service-hub-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,23,17,0.35), rgba(8,23,17,0.78));
  transition: background 240ms ease;
}

.service-hub-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-hub-content h3 {
  margin: 0 0 0.5rem;
  color: var(--gold-light);
  font-family: 'Manrope', sans-serif;
  font-size: 1.32rem;
}

.service-hub-content p { margin: 0 0 0.8rem; color: #c7ddd2; }

.service-hub-content .btn {
  margin-top: auto;
  width: 100%;
  min-height: 48px;
  font-size: 1rem;
}

.service-hub-card--link:hover, .service-hub-card--link:focus-within {
  border-color: rgba(198,162,95,0.8);
  box-shadow: 0 14px 26px rgba(6,20,15,0.34);
  transform: translateY(-2px);
}

.service-hub-card--link:hover::before {
  background: linear-gradient(180deg, rgba(8,23,17,0.2), rgba(8,23,17,0.68));
}

.service-hub-grid--catalog .service-hub-card {
  min-height: 280px;
}

.service-hub-card--compact .service-icon {
  width: 66px;
  height: 66px;
  margin: 0.3rem auto 0.9rem;
}

.service-hub-card--compact .service-hub-content {
  align-items: center;
  text-align: center;
}

.service-hub-card--compact .service-hub-content h3 {
  font-size: 1.14rem;
  margin-bottom: 0.45rem;
}

.service-hub-card--compact .service-hub-content p {
  margin-bottom: 0.7rem;
  font-size: 0.96rem;
}

.service-hub-card--compact .service-hub-content .btn {
  margin-top: auto;
}

.service-hub-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(198,162,95,0.3);
  border-radius: 999px;
  padding: 0.14rem 0.58rem;
  color: var(--gold-light);
  font-size: 0.8rem;
}

.service-info-grid {
  display: grid;
  gap: 1rem;
}

.service-info-main .service-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 0.8rem;
}

.service-info-main h1 {
  margin: 0 0 0.7rem;
}

.service-info-main p {
  margin: 0 0 0.85rem;
}

.service-info-side p {
  margin: 0 0 0.7rem;
}

@media (min-width: 980px) {
  .service-info-grid {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: start;
  }
}

.consult-form, .contact-form { display: grid; gap: 0.75rem; }

input, textarea, select {
  width: 100%;
  border: 1px solid rgba(198,162,95,0.3);
  border-radius: 12px;
  padding: 0.76rem 0.85rem;
  font: inherit;
  color: #eaf6ef;
  background: rgba(255,255,255,0.06);
  transition: border-color 0.2s;
}

input:focus, textarea:focus { outline: none; border-color: var(--gold); }
input::placeholder, textarea::placeholder { color: #6f8a80; }
textarea { resize: vertical; min-height: 120px; }

.cta-band {
  background: linear-gradient(135deg, rgba(198,162,95,0.12) 0%, rgba(14,44,33,0.96) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(198,162,95,0.35);
}

.cta-band h2 { color: var(--gold-light); margin: 0 0 0.8rem; }
.cta-band p { margin: 0 0 0.8rem; color: #c6dacf; }

.notice { font-size: 0.92rem; color: #bfd3c9; }

.badge {
  display: inline-flex;
  padding: 0.18rem 0.62rem;
  border-radius: 999px;
  background: rgba(198,162,95,0.15);
  color: var(--gold-light);
  border: 1px solid rgba(198,162,95,0.35);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.tabs { display: flex; gap: 0.5rem; overflow-x: auto; margin-bottom: 1rem; padding-bottom: 0.2rem; }

.tab-btn {
  border: 1px solid rgba(198,162,95,0.3);
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  white-space: nowrap;
  cursor: pointer;
  font-weight: 600;
  color: #c6dacf;
}

.tab-btn.active { background: var(--gold); border-color: var(--gold); color: #0d2419; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.service-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }

.service-table th, .service-table td {
  border-bottom: 1px solid rgba(198,162,95,0.2);
  padding: 0.7rem 0.2rem;
  text-align: left;
  vertical-align: top;
}

.service-table th { color: var(--gold-light); }
.service-table td { color: #c6dacf; }

.accordion { display: none; }

.site-footer {
  margin-top: 2.6rem;
  background: rgba(5,14,9,0.98);
  border-top: 2px solid var(--gold);
  color: #dfebe5;
}

.footer-grid { padding: 2rem 0; display: grid; gap: 1rem; }
.site-footer a { color: var(--gold-light); }
.site-footer p { margin: 0.25rem 0; color: #c6dacf; }
.site-footer strong { color: var(--gold-light); }

.small-muted { font-size: 0.86rem; color: #a7c0b5; }

.map-card iframe { width: 100%; min-height: 300px; border: 0; border-radius: var(--radius); }

.hidden { display: none !important; }
.modal-open { overflow: hidden; }

.image-grid { display: grid; gap: 1rem; }

.image-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.7rem;
}

.feature-icon {
  width: 86px !important;
  height: 86px !important;
  margin: 0 auto 0.8rem !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  filter: brightness(0) saturate(100%) invert(70%) sepia(92%) saturate(2799%) hue-rotate(175deg) brightness(106%) contrast(103%) drop-shadow(0 0 14px rgba(30,153,255,0.82));
}

.service-info-main .service-icon {
  filter: brightness(0) saturate(100%) invert(70%) sepia(92%) saturate(2799%) hue-rotate(175deg) brightness(106%) contrast(103%) drop-shadow(0 0 10px rgba(30,153,255,0.75));
}

.info-modal { position: fixed; inset: 0; z-index: 80; }
.info-modal__backdrop { position: absolute; inset: 0; background: rgba(7,21,15,0.75); }

.info-modal__card {
  position: relative;
  max-width: 680px;
  margin: 5vh auto;
  background: linear-gradient(165deg, #0e2c21, #0a1f16);
  color: #eaf6ef;
  border-radius: 18px;
  border: 1px solid rgba(198,162,95,0.45);
  box-shadow: 0 20px 60px rgba(7,23,16,0.65);
  padding: 1.8rem;
  width: min(94%, 680px);
  max-height: 85vh;
  overflow-y: auto;
}

.info-modal__card::-webkit-scrollbar { width: 6px; }
.info-modal__card::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
.info-modal__card::-webkit-scrollbar-thumb { background: rgba(198,162,95,0.4); border-radius: 3px; }

.info-modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  border: 0;
  background: rgba(198,162,95,0.1);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--gold);
  cursor: pointer;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.info-modal__close:hover { background: rgba(198,162,95,0.25); }

.info-modal__card h3 { margin: 0 0 0.6rem; font-family: 'Manrope', sans-serif; color: var(--gold-light); font-size: 1.4rem; }
.info-modal__card h4 { color: var(--gold-light); margin: 1.2rem 0 0.5rem; font-size: 1.05rem; }
.info-modal__card p { margin: 0 0 0.85rem; color: #c6dacf; line-height: 1.65; }
.info-modal__card li { color: #c6dacf; margin-bottom: 0.4rem; line-height: 1.6; }
.info-modal__card ul { padding-left: 1.2rem; }

.gold-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0.4rem 0 1rem;
}

.about-card .actions {
  margin-top: 0.55rem;
}

.about-layout {
  display: grid;
  gap: 0.75rem;
}

.about-main {
  display: grid;
  gap: 0.75rem;
}

.about-text-block {
  display: grid;
  gap: 0.75rem;
}

.about-text-block p {
  margin: 0;
  line-height: 1.62;
}

.about-side {
  display: grid;
  gap: 0.65rem;
}

.about-mini {
  border: 1px solid rgba(15, 74, 55, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  padding: 0.72rem 0.85rem;
}

.about-mini h4 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 800;
  color: #0f4a37;
}

.about-pillars li,
.about-services li {
  margin-bottom: 0.32rem;
  line-height: 1.5;
}

.about-pillars strong {
  color: #0f4a37;
}

@media (min-width: 960px) {
  #about .container {
    width: min(1020px, calc(100% - 2rem));
  }

  #about .about-card {
    padding: 1.05rem 1.15rem;
  }

  .about-layout {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    align-items: start;
    gap: 0.85rem;
  }
}

.step-list { list-style: none; padding: 0; margin: 0; }
.step-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(198,162,95,0.1);
  color: #c6dacf;
}
.step-num {
  background: var(--gold);
  color: #0d2419;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

@media (min-width: 720px) {
  .meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .find-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 290px 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .image-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 980px) {
  .hero-wrap { grid-template-columns: 1.18fr 0.82fr; }
  .meta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .service-hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .hero-lead { padding: 1.35rem 1.1rem; }
  .hero-quick { padding: 1.1rem; }
  .hero h1 {
    font-size: clamp(16.8rem, 82.8vw, 28.8rem);
    line-height: 0.9;
  }
  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .actions > .btn,
  .actions > button.btn,
  .actions > a.btn,
  .service-info-side > .btn,
  .cta-band > .btn {
    width: 100%;
    min-height: 48px;
  }
}

@media (max-width: 860px) {
  .service-table { display: none; }
  .accordion { display: block; }
  .accordion details {
    border: 1px solid rgba(198,162,95,0.25);
    border-radius: 12px;
    padding: 0.6rem 0.8rem;
    margin-bottom: 0.6rem;
    background: rgba(14,44,33,0.6);
  }
  .accordion summary { font-weight: 600; cursor: pointer; color: var(--gold-light); }
}

@media (max-width: 1200px) {
  .topbar__inner {
    min-height: 72px;
    padding: 0.42rem 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
  .topbar__brand { min-width: 0; max-width: none; padding-right: 0; }
  .topbar__items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .topbar__item:nth-child(4) { border-left: 0; }
}

@media (max-width: 820px) {
  .topbar__items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar__item { border-left: 0; border-top: 1px solid rgba(198,162,95,0.12); min-height: 56px; padding: 0.46rem 0.62rem; }
  .topbar__item:nth-child(-n+2) { border-top: 0; }
  .topbar__value { font-size: 0.94rem; }
}

@media (max-width: 560px) {
  .topbar__brand-text { font-size: 0.98rem; }
  .topbar__avatar { width: 44px; height: 44px; }
  .topbar__items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar__nav { gap: 0.75rem; overflow-x: auto; padding-bottom: 0.2rem; }
  .topbar__item { min-height: 52px; gap: 0.42rem; padding: 0.42rem 0.55rem; }
  .topbar__icon { width: 16px; height: 16px; }
  .topbar__value { font-size: 0.88rem; font-weight: 600; }
  .contact-profile { grid-template-columns: 1fr; }
  .contact-profile .official-photo { width: min(100%, 130px); }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(8px); animation: reveal 0.5s ease forwards; }
  .reveal.delay-1 { animation-delay: 0.05s; }
  .reveal.delay-2 { animation-delay: 0.1s; }
  .reveal.delay-3 { animation-delay: 0.15s; }
  @keyframes reveal { to { opacity: 1; transform: translateY(0); } }
}

/* Final palette lock (emerald + gold) */
body {
  background:
    radial-gradient(circle at 12% 16%, rgba(0, 0, 0, 0.26) 0%, transparent 34%),
    radial-gradient(circle at 84% 70%, rgba(0, 0, 0, 0.33) 0%, transparent 38%),
    radial-gradient(circle at 52% 88%, rgba(0, 0, 0, 0.2) 0%, transparent 31%),
    linear-gradient(160deg, #00684d 0%, #005b43 45%, #014634 100%);
  color: #ffd166;
}
a { color: #ffd166; }

body::before,
body::after {
  content: '';
  position: fixed;
  top: 0;
  bottom: 0;
  width: 32px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
  background-image: url('../assets/ornament.png');
  background-repeat: repeat-y;
  background-size: 378px 165px;
  background-position: center top;
}

body::before { left: 6px; }
body::after {
  right: 6px;
  transform: scaleX(-1);
}

.topbar {
  background: linear-gradient(180deg, #01382a 0%, #01553f 100%);
  border-bottom: 1px solid rgba(255, 209, 102, 0.45);
  box-shadow: 0 6px 20px rgba(0, 21, 16, 0.45);
}
.topbar--scrolled { background: rgba(1, 56, 42, 0.95); }
.topbar__brand, .topbar__brand-text, .topbar__label, .topbar__value { color: #ffd166; }
.topbar__nav { border-top-color: rgba(255, 209, 102, 0.3); }
.topbar__nav a { color: #ffd166; }
.topbar__nav a:hover { color: #ffe29b; }
.topbar__item { color: #ffd166; border-left-color: rgba(255, 209, 102, 0.25); }
.topbar__item:first-child { border-left-color: rgba(255, 209, 102, 0.25); }
.topbar__item:hover { background: rgba(255, 209, 102, 0.12); color: #ffe29b; }
.topbar__item .topbar__value,
.topbar__item .topbar__meta,
.topbar__item[href^="tel:"] .topbar__value {
  color: #ffe29b !important;
}
.topbar__avatar { border-color: #ffd166; box-shadow: 0 0 14px rgba(255, 209, 102, 0.24); }
.topbar__icon,
.feature-icon,
.service-hub-card .service-icon,
.service-info-main .service-icon {
  filter: brightness(0) saturate(100%) invert(21%) sepia(45%) saturate(1093%) hue-rotate(123deg) brightness(88%) contrast(96%) drop-shadow(0 0 3px rgba(20, 120, 81, 0.35)) drop-shadow(0 0 7px rgba(20, 120, 81, 0.22));
}

.hero-card,
.card,
.glass-card,
.cta-band,
.site-footer,
.info-modal__card {
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 235, 170, 0.56) 0%, transparent 38%),
    linear-gradient(160deg, #f6cd58 0%, #e2ad2f 55%, #cb8e1d 100%);
  border-color: #b67d17;
  color: #0f4a37;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 236, 178, 0.8);
}

.service-hub-card {
  color: #0f4a37;
  border-color: #b67d17;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.34);
}

.service-hub-card::before,
.service-hub-card--link:hover::before,
.service-hub-card--link:focus-within::before {
  background: rgba(15, 74, 55, 0.08);
}

.service-hub-content h3 { color: #0f4a37; }
.service-hub-content p { color: #1c5a45; }

.service-hub-card--link:hover,
.service-hub-card--link:focus-within {
  border-color: #927839;
  box-shadow: 0 10px 22px rgba(0, 21, 16, 0.5);
}

.glass-card:hover, .glass-card:focus-within {
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 240, 184, 0.62) 0%, transparent 38%),
    linear-gradient(160deg, #ffd564 0%, #ebb638 55%, #d89922 100%);
  border-color: #c08313;
}

.hero h1,
.hero-notary-name,
.section-title,
.card h2, .card h3, .card h4,
.service-card h3, .why-card h3, .find-card h3,
.kpi-value,
.service-table th,
.site-footer a, .site-footer strong,
.badge {
  color: #ffe29b;
}

.section-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title::before {
  content: '✦';
  color: #ffd166;
  text-shadow: none;
}

.home-reference .section-title::before {
  display: none;
}

.hero p,
.section-subtitle,
.card p, .card li,
.glass-card p, .glass-card li,
.service-card ul, .about-list, .simple-list,
.notice, .small-muted,
.site-footer p,
.service-table td,
.kpi-title {
  color: #f2c14e;
}

.why-card h3,
.find-card h3,
.service-card h3 {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.why-card h3::before,
.find-card h3::before,
.service-card h3::before {
  content: '◆';
  color: #ffd166;
  font-size: 0.72em;
  text-shadow: none;
}

.about-lead {
  color: #ffe29b !important;
  font-weight: 600;
}

.cta-band-note {
  color: #f2c14e !important;
}

.btn-primary {
  background: linear-gradient(135deg, #d4af37 0%, #ffd166 100%);
  color: #103528;
  border: 1px solid #ffdf90;
  box-shadow: 0 8px 18px rgba(0, 21, 16, 0.35);
}
.btn-primary:hover { background: linear-gradient(135deg, #c89b3c 0%, #ffe29b 100%); }
.btn-primary,
.btn-primary:visited,
a.btn-primary,
a.btn-primary:visited {
  color: #103528 !important;
}

.btn-secondary,
.btn-light {
  background: #e0c061;
  color: #0f4a37;
  border-color: #c8ab57;
}
.btn-secondary:hover,
.btn-light:hover { background: #ebd487; color: #0f4a37; }

.btn-light {
  background: #e0c061;
  border: 1px solid #c8ab57;
  color: #0f4a37;
}
.btn-light:hover {
  background: #ebd487;
}

.hero-eyebrow {
  background: #ffd166;
  color: #0f4a37 !important;
  border: 1px solid #c8ab57;
  box-shadow: 0 6px 16px rgba(12, 52, 39, 0.22);
}
.hero-facts li::before { background: #ffd166; }

input, textarea, select {
  background: #f1dd9f;
  color: #0f4a37;
  border-color: #b99d4f;
}
input::placeholder, textarea::placeholder { color: #4d6f5d; }

.hero-quick input,
.hero-quick textarea {
  background: #f1dd9f;
  border-color: #b99d4f;
}

.service-tile { background: #014c39; }
.service-tile::before {
  background: linear-gradient(180deg, rgba(2, 48, 37, 0.24) 16%, rgba(2, 48, 37, 0.86) 74%);
}
.service-tile ul { color: #ffd166; }
.service-tile .btn-secondary,
.service-tile .btn-light {
  background: rgba(255, 209, 102, 0.16);
  border: 1px solid rgba(255, 209, 102, 0.55);
  color: #ffe29b;
}
.service-tile .btn-secondary:hover,
.service-tile .btn-light:hover {
  background: rgba(255, 209, 102, 0.26);
  color: #fff0c4;
}

.hero-kpi-inline { border-top-color: rgba(255, 209, 102, 0.35); }
.hero-kpi-inline p {
  background: #ead487;
  border-color: #b99d4f;
  color: #1c5a45;
}
.hero-kpi-inline strong { color: #0f4a37; }

.badge,
.tab-btn,
.info-modal__close {
  background: #e5c970;
  border-color: #b99d4f;
  color: #0f4a37;
}
.tab-btn { color: #1c5a45; }
.tab-btn.active {
  background: #ffd166;
  border-color: #ffd166;
  color: #103528;
}

.service-table th, .service-table td,
.step-list li {
  border-bottom-color: rgba(255, 209, 102, 0.35);
}
.step-list li { color: #1c5a45; }
.step-num {
  background: #ffd166;
  color: #103528;
}

.info-modal__backdrop { background: rgba(0, 20, 15, 0.6); }
.info-modal__card h3, .info-modal__card h4 { color: #0f4a37; }
.info-modal__card p, .info-modal__card li { color: #1c5a45; }
.info-modal__close:hover { background: rgba(255, 209, 102, 0.2); }

a:hover { color: #ffe29b; }

/* Force green text on all gold boxes */
:is(.hero-card, .card, .glass-card, .cta-band, .site-footer, .info-modal__card) {
  color: #123a2d !important;
}

:is(.hero-card, .card, .glass-card, .cta-band, .site-footer, .info-modal__card)
  :is(h1,h2,h3,h4,h5,h6,p,li,a,span,strong,em,label,small,th,td,.section-subtitle,.small-muted,.notice,.kpi-title,.kpi-value) {
  color: #123a2d !important;
}

:is(.hero-card, .card, .glass-card, .cta-band, .site-footer, .info-modal__card) .section-title::before,
:is(.hero-card, .card, .glass-card, .cta-band, .site-footer, .info-modal__card) :is(.why-card h3, .find-card h3, .service-card h3)::before {
  color: #123a2d !important;
}


@media (max-width: 860px) {
  .accordion details {
    border-color: rgba(255, 209, 102, 0.35);
    background: rgba(2, 74, 55, 0.9);
  }
  .card .accordion details,
  .card .accordion details summary,
  .card .accordion details p,
  .card .accordion details li,
  .card .accordion details strong,
  .glass-card .accordion details,
  .glass-card .accordion details summary,
  .glass-card .accordion details p,
  .glass-card .accordion details li,
  .glass-card .accordion details strong {
    color: #f7f0d1 !important;
  }
  .card .accordion details p,
  .glass-card .accordion details p {
    margin-top: 0.5rem;
  }
}

@media (max-width: 820px) {
  .topbar__item { border-top-color: rgba(255, 209, 102, 0.25); }
}

@media (max-width: 980px) {
  body::before,
  body::after { display: none; }
}

/* Main page reference styling */
.home-reference {
  background:
    radial-gradient(circle at 14% 9%, rgba(255, 195, 74, 0.15) 0%, transparent 26%),
    radial-gradient(circle at 84% 78%, rgba(255, 178, 36, 0.11) 0%, transparent 25%),
    radial-gradient(circle at 52% 43%, rgba(11, 89, 66, 0.56) 0%, transparent 50%),
    linear-gradient(160deg, #063c2e 0%, #042d22 52%, #031e17 100%);
  overflow-x: clip;
  padding-top: 0;
  --gold: #f2bb47;
  --gold-light: #ffd97a;
  --muted: #d9a93f;
}

.home-reference::before,
.home-reference::after {
  content: '';
  position: fixed;
  top: 0;
  bottom: 0;
  width: 96px;
  pointer-events: none;
  z-index: 220;
  background-image: url('../assets/background-remover-1772040579066.png');
  background-repeat: no-repeat;
  background-size: auto 100%;
  opacity: 1;
  display: block;
}

.home-reference::before {
  left: -4px;
  background-position: right top;
  transform: scaleX(-1);
  transform-origin: center;
}

.home-reference::after {
  right: -4px;
  background-position: right top;
  transform: none;
}

.home-reference .topbar,
.home-reference main {
  width: min(1320px, calc(100% - 13rem));
  margin-inline: auto;
}

.home-reference .topbar {
  position: relative;
  border: 1px solid rgba(185, 137, 38, 0.82);
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 34%, rgba(216, 160, 49, 0.12) 0%, transparent 34%),
    linear-gradient(175deg, #0a4535 0%, #053024 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.62), inset 0 0 0 1px rgba(205, 156, 48, 0.22);
}

.home-reference .topbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-radial-gradient(circle at 15% 20%, rgba(255, 217, 125, 0.11) 0 1px, transparent 2px 10px),
    linear-gradient(90deg, transparent 0%, rgba(255, 219, 125, 0.16) 50%, transparent 100%);
  opacity: 0.3;
  pointer-events: none;
}

.home-reference .topbar__inner,
.home-reference .topbar__nav,
.home-reference .topbar__item {
  position: relative;
  z-index: 1;
}

.home-reference .topbar--hidden .topbar__inner {
  min-height: 84px;
  padding: 0.4rem 0;
  gap: 1rem;
}

.home-reference .topbar--hidden .topbar__nav {
  border-top: 1px solid rgba(198, 162, 95, 0.2);
  padding-top: 0.45rem;
}

.home-reference .topbar--hidden .topbar__brand,
.home-reference .topbar--hidden .topbar__items {
  max-height: 220px;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  margin: 0;
}

.home-reference main {
  position: relative;
  margin: 0 auto 1.6rem;
  padding-bottom: 1.25rem;
  background:
    radial-gradient(circle at 17% 18%, rgba(21, 96, 72, 0.44) 0%, transparent 34%),
    radial-gradient(circle at 84% 26%, rgba(11, 79, 58, 0.39) 0%, transparent 33%),
    radial-gradient(circle at 53% 86%, rgba(11, 82, 61, 0.35) 0%, transparent 39%),
    repeating-radial-gradient(circle at 30% 40%, rgba(244, 188, 67, 0.06) 0 1px, transparent 2px 18px),
    linear-gradient(165deg, #0a4c39 0%, #07372b 47%, #041f19 100%);
  border: 1px solid rgba(185, 137, 38, 0.8);
  border-top: 0;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.64), inset 0 0 0 1px rgba(203, 154, 45, 0.24);
  overflow: hidden;
}

.home-reference.home-index main::before,
.home-reference.home-index main::after {
  content: none;
}

.home-reference main > section,
.home-reference .site-footer {
  position: relative;
  z-index: 2;
}

.home-reference .hero {
  padding-top: 0.95rem;
  padding-bottom: 1.05rem;
}

.home-reference .reveal {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.home-reference .hero-wrap {
  gap: 1rem;
}

.home-reference .hero-lead,
.home-reference .hero-quick {
  background:
    radial-gradient(circle at 72% 17%, rgba(255, 233, 158, 0.44) 0%, transparent 38%),
    repeating-radial-gradient(circle at 24% 30%, rgba(145, 86, 14, 0.06) 0 1px, transparent 2px 10px),
    linear-gradient(165deg, #f0c95f 0%, #d8a637 54%, #be8722 100%);
  border: 1px solid #93641d;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(249, 221, 145, 0.67);
}

.home-reference .hero h1 {
  font-size: clamp(1.62rem, 3.4vw, 2.75rem);
  line-height: 1.06;
  margin: 0 0 0.8rem;
  color: #0a4232;
  text-shadow: 0 1px 0 rgba(240, 209, 126, 0.62);
}

.home-reference .hero p,
.home-reference .hero-facts li,
.home-reference .hero-quick p,
.home-reference .hero-quick label {
  color: #0b3b2d;
}

.home-reference .hero-facts li::before {
  background: #0a3a2b;
}

.home-reference .hero-eyebrow {
  background: linear-gradient(160deg, #f0c347 0%, #d8a22d 100%);
  border-color: #885d1b;
  color: #0b3a2d;
}

.home-reference .hero-quick input,
.home-reference .hero-quick textarea {
  background: rgba(241, 214, 143, 0.73);
  color: #0e3a2b;
  border-color: rgba(137, 92, 22, 0.72);
}

.home-reference .hero-quick input::placeholder,
.home-reference .hero-quick textarea::placeholder {
  color: #3e6658;
}

.home-reference .btn-primary {
  background: linear-gradient(160deg, #0d5640 0%, #06372a 100%);
  color: #f3c759 !important;
  border: 1px solid #b48222;
}

.home-reference .btn-secondary,
.home-reference .btn-light {
  background: linear-gradient(160deg, #f1c95c 0%, #d8a334 100%);
  color: #0d3326;
  border: 1px solid #99671a;
}

.home-reference .btn {
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 260ms ease, filter 260ms ease;
}

.home-reference .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.26);
  filter: saturate(1.05);
}

.home-reference .btn::after {
  content: '';
  position: absolute;
  top: -120%;
  left: -35%;
  width: 28%;
  height: 330%;
  transform: rotate(23deg);
  background: linear-gradient(180deg, transparent 0%, rgba(255, 246, 214, 0.45) 50%, transparent 100%);
  animation: btnShimmerSmall 5.4s linear infinite;
  pointer-events: none;
}

.home-reference .home-trust-section .section-title {
  text-shadow: 0 0 12px rgba(255, 209, 102, 0.34);
  color: #f1d28b !important;
}

@keyframes emeraldFlow {
  0% { background-position: 0 0, 80px 120px, 0% 30%, 100% 40%, 50% 100%, center, center, center, 0% 50%; }
  50% { background-position: 0 0, 80px 120px, 100% 65%, 0% 35%, 50% 0%, center, center, center, 100% 50%; }
  100% { background-position: 0 0, 80px 120px, 0% 30%, 100% 40%, 50% 100%, center, center, center, 0% 50%; }
}

@keyframes btnShimmerSmall {
  0% { left: -35%; }
  100% { left: 125%; }
}

@media (max-width: 980px) {
  .home-reference::before,
  .home-reference::after { display: none; }

  .home-reference .topbar,
  .home-reference main {
    width: min(1240px, calc(100% - 0.9rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-reference .hero-lead,
  .home-reference .hero-quick,
  .home-reference main,
  .home-reference .btn::after { animation: none !important; }
}
