:root {
  color-scheme: light;
  --ink: #141b22;
  --muted: #66727f;
  --line: #dbe3e8;
  --soft: #f5f7f8;
  --panel: #ffffff;
  --brand: #0b6f63;
  --brand-dark: #073f39;
  --gold: #b9852a;
  --gold-soft: #fff5df;
  --dark: #111816;
  --shadow: 0 24px 80px rgba(20, 27, 34, 0.1);
  --shadow-heavy: 0 34px 120px rgba(17, 24, 22, 0.22);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #eef6f3 0, #f8fafc 360px, #f3f6f8 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

button,
input {
  font: inherit;
}

.site-shell,
.site-footer {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.site-shell {
  padding: 32px 0 44px;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 999px;
  color: white;
  background: var(--dark);
  font-weight: 900;
  text-decoration: none;
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: #9a691a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold);
}

.hero-card h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-card p {
  max-width: 780px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-actions .btn-dark {
  border-color: var(--dark);
  color: white;
  background: var(--dark);
}

.hero-summary {
  display: grid;
  gap: 10px;
}

.hero-stat {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid rgba(11, 111, 99, 0.18);
  border-radius: 18px;
  color: var(--brand-dark);
  background: #eef8f6;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.premium-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  padding: 4px;
  border: 1px solid rgba(216, 195, 141, 0.7);
  border-radius: 34px;
  background: var(--dark);
  box-shadow: var(--shadow-heavy);
}

.premium-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 224, 168, 0.3), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(11, 111, 99, 0.35), transparent 34%),
    linear-gradient(135deg, #111816 0%, #0f3d38 48%, #392812 100%);
}

.premium-ribbon,
.premium-grid {
  position: relative;
}

.premium-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 18px;
  border-radius: 28px 28px 0 0;
  color: white;
  background: #111816;
}

.premium-ribbon span,
.premium-ribbon strong {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
}

.premium-ribbon span {
  border: 1px solid rgba(255, 224, 168, 0.35);
  color: #ffe0a8;
  background: rgba(255, 224, 168, 0.1);
  font-weight: 900;
  text-transform: uppercase;
}

.premium-ribbon strong {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.1);
}

.premium-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  overflow: hidden;
  border-radius: 0 0 28px 28px;
  background: #fbfaf7;
}

.premium-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--brand-dark);
}

.premium-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 77, 69, 0.02) 0%, rgba(17, 24, 22, 0.82) 100%);
}

.premium-media picture,
.premium-media img {
  width: 100%;
  height: 100%;
}

.premium-media img {
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
}

.lawyer-badge {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  color: white;
  background: rgba(17, 24, 22, 0.84);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.lawyer-badge span {
  display: block;
  color: #ffe0a8;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.lawyer-badge strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  line-height: 1.1;
}

.lawyer-badge small {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.45;
}

.premium-content {
  padding: 26px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.tag-row span {
  min-height: 24px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-dark);
  background: white;
  font-size: 11px;
  font-weight: 800;
}

.tag-row span:first-child {
  border-color: #d8c28f;
  color: #8a5b10;
  background: var(--gold-soft);
  font-weight: 900;
  text-transform: uppercase;
}

.premium-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 260px);
  gap: 20px;
  align-items: start;
}

.premium-main h2 {
  max-width: 760px;
  margin: 0;
  color: var(--dark);
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.premium-main p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.contact-panel {
  width: 100%;
  min-width: 0;
  padding: 14px;
  border: 1px solid #eadfca;
  border-radius: 20px;
  background: white;
  box-shadow: 0 18px 45px rgba(17, 24, 22, 0.08);
}

.contact-panel > span {
  display: block;
  color: #9a691a;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.btn,
.phone-grid a,
.email-link,
.footer-actions a,
.search-row button,
.search-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.btn:hover,
.phone-grid a:hover,
.email-link:hover,
.footer-actions a:hover,
.search-row button:hover,
.search-row a:hover {
  transform: translateY(-1px);
}

.btn-whatsapp {
  width: 100%;
  margin-top: 10px;
  color: white;
  background: #25d366;
  box-shadow: 0 16px 35px rgba(37, 211, 102, 0.25);
}

.phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 8px;
}

.phone-grid a,
.email-link {
  border: 1px solid var(--line);
  color: var(--brand-dark);
  background: white;
}

.email-link {
  width: 100%;
  margin-top: 7px;
  padding-inline: 10px;
  color: var(--dark);
  background: #fbfaf7;
  font-size: 11px;
  overflow-wrap: anywhere;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.service-grid article {
  padding: 14px;
  border: 1px solid #eadfca;
  border-radius: 18px;
  background: white;
  box-shadow: 0 8px 22px rgba(17, 24, 22, 0.04);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.service-grid article:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(17, 24, 22, 0.08);
}

.service-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--brand-dark);
  background: #eef8f6;
  font-weight: 900;
}

.service-icon.gold {
  color: #8a5b10;
  background: var(--gold-soft);
}

.service-grid h3 {
  margin: 10px 0 0;
  font-size: 14px;
}

.service-grid p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.premium-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  padding: 14px;
  border: 1px solid #eadfca;
  border-radius: 18px;
  color: white;
  background: var(--dark);
}

.premium-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.5;
}

.premium-footer strong {
  color: #ffe0a8;
}

.premium-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-gold {
  padding-inline: 18px;
  color: var(--dark);
  background: #ffe0a8;
}

.btn-dark {
  padding-inline: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.btn-light {
  padding-inline: 18px;
  border: 1px solid var(--line);
  color: var(--brand-dark);
  background: white;
}

.search-card,
.table-card,
.empty-state,
.site-footer > div {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
}

.search-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  border-color: rgba(11, 111, 99, 0.2);
  background:
    linear-gradient(135deg, rgba(11, 111, 99, 0.1), rgba(255, 245, 223, 0.72) 46%, rgba(255, 255, 255, 0.98) 100%);
  box-shadow: 0 28px 80px rgba(11, 111, 99, 0.16);
}

.search-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--brand), #d9a441, var(--brand-dark));
}

.search-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 24px 26px 10px;
}

.search-head h2,
.search-head p {
  margin: 0;
}

.search-head h2 {
  color: var(--dark);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.08;
}

.search-head > span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid rgba(11, 111, 99, 0.18);
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.search-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  padding: 16px 26px 20px;
  border-bottom: 1px solid rgba(11, 111, 99, 0.14);
}

.search-row input {
  min-height: 64px;
  padding: 14px 18px;
  border: 1px solid rgba(11, 111, 99, 0.18);
  border-radius: 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  outline: none;
  font-size: 16px;
  font-weight: 700;
}

.search-row input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 5px rgba(11, 111, 99, 0.12), 0 14px 34px rgba(11, 111, 99, 0.1);
}

.search-row button {
  border: 0;
  min-height: 64px;
  padding-inline: 30px;
  border-radius: 20px;
  color: white;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 18px 36px rgba(11, 111, 99, 0.24);
  cursor: pointer;
}

.search-row a {
  min-height: 64px;
  padding-inline: 20px;
  border: 1px solid rgba(11, 111, 99, 0.16);
  border-radius: 20px;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.82);
}

.meta-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 26px 18px;
  background: rgba(255, 255, 255, 0.58);
}

.meta-row span {
  padding: 7px 13px;
  border: 1px solid rgba(11, 111, 99, 0.14);
  border-radius: 999px;
  color: var(--brand-dark);
  background: white;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(17, 24, 22, 0.04);
}

.table-card {
  overflow: auto;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
}

caption {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
  font-size: 14px;
  font-weight: 800;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--brand-dark);
  background: #eef8f6;
  font-weight: 900;
}

th:first-child,
td:first-child {
  width: 92px;
  text-align: right;
}

tbody tr:nth-child(even) {
  background: #fbfcfd;
}

tbody tr:hover {
  background: #f0f8f6;
}

td:nth-child(2) {
  color: var(--ink);
  font-weight: 800;
}

.empty-state {
  padding: 34px;
  color: var(--muted);
  text-align: center;
}

.seo-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.52fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 24px;
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid rgba(11, 111, 99, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 248, 246, 0.86)),
    white;
  box-shadow: var(--shadow);
}

.seo-intro {
  align-self: start;
  position: sticky;
  top: 18px;
}

.seo-intro h2 {
  margin: 0;
  color: var(--dark);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
}

.seo-copy {
  display: grid;
  gap: 14px;
  color: var(--muted);
}

.seo-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
}

.read-more {
  margin-top: 2px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.read-more summary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 8px 16px;
  border: 1px solid rgba(11, 111, 99, 0.18);
  border-radius: 999px;
  color: white;
  background: var(--brand);
  box-shadow: 0 14px 30px rgba(11, 111, 99, 0.16);
  font-size: 14px;
  font-weight: 900;
  list-style: none;
}

.read-more summary::-webkit-details-marker {
  display: none;
}

.read-more p {
  margin-top: 14px;
}

.site-footer {
  padding-bottom: 40px;
}

.site-footer > div {
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 0.9fr;
  gap: 28px;
  padding: 28px;
  color: white;
  background: var(--brand-dark);
}

.footer-top h2,
.footer-top p {
  margin: 0;
}

.footer-top h2 {
  font-size: 28px;
  line-height: 1.15;
}

.footer-top p:not(.section-label) {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.footer-top dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
}

.footer-top dl div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
}

.footer-top dt {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.footer-top dd {
  margin: 4px 0 0;
  font-size: 22px;
  font-weight: 900;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.85fr) minmax(190px, 0.55fr);
  gap: 28px;
  padding: 28px;
}

.footer-grid h2 {
  margin: 0;
  font-size: 22px;
}

.faq-section > p,
.footer-contact p,
.footer-grid nav p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

details {
  margin-top: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfcfd;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.footer-contact {
  padding: 18px;
  border: 1px solid #ead4aa;
  border-radius: 22px;
  background: var(--gold-soft);
}

.footer-lawyer {
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid #e0c484;
  border-radius: 18px;
  background: var(--brand-dark);
  aspect-ratio: 16 / 10;
}

.footer-lawyer picture,
.footer-lawyer img {
  width: 100%;
  height: 100%;
}

.footer-lawyer img {
  object-fit: cover;
  object-position: center 18%;
}

.footer-lawyer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 63, 57, 0.02), rgba(17, 24, 22, 0.76));
}

.footer-lawyer span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 24px);
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--dark);
  background: #ffe0a8;
  font-size: 12px;
  font-weight: 900;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.footer-actions a {
  min-height: 38px;
  padding-inline: 12px;
  border: 1px solid var(--line);
  color: var(--brand-dark);
  background: white;
}

.footer-actions a:first-child {
  border-color: var(--brand);
  color: white;
  background: var(--brand);
}

.footer-grid nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-grid nav a {
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #f7f9fa;
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: inline-flex;
  width: 64px;
  height: 64px;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
  color: white;
  background: #25d366;
  box-shadow: 0 18px 45px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.floating-whatsapp:hover {
  transform: translateY(-2px) scale(1.03);
  background: #22c55e;
  box-shadow: 0 22px 55px rgba(37, 211, 102, 0.44);
}

.floating-whatsapp svg {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

@media (max-width: 1180px) {
  .premium-main {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    max-width: 520px;
  }
}

@media (max-width: 1020px) {
  .hero-card,
  .premium-grid,
  .seo-section,
  .footer-top,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .premium-media,
  .premium-media img {
    min-height: 520px;
  }

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

  .seo-intro {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-shell,
  .site-footer {
    width: min(100% - 20px, 1220px);
  }

  .site-shell {
    padding-top: 18px;
  }

  .hero-card,
  .premium-content,
  .footer-top,
  .footer-grid {
    padding: 20px;
  }

  .hero-card h1,
  .premium-main h2 {
    font-size: 32px;
  }

  .premium-main {
    text-align: center;
  }

  .contact-panel {
    justify-self: center;
    text-align: center;
  }

  .contact-panel > span {
    text-align: center;
  }

  .premium-ribbon,
  .premium-footer,
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
  }

  .premium-grid {
    border-radius: 0 0 24px 24px;
  }

  .premium-media,
  .premium-media img {
    min-height: 430px;
  }

  .search-head {
    grid-template-columns: 1fr;
    padding: 22px 20px 8px;
  }

  .search-head > span {
    justify-self: start;
  }

  .search-row,
  .meta-row {
    padding-inline: 20px;
  }

  .service-grid,
  .search-row,
  .footer-top dl {
    grid-template-columns: 1fr;
  }

  .search-row button,
  .search-row a,
  .btn {
    width: 100%;
  }

  .floating-whatsapp {
    right: 10px;
    bottom: 10px;
    width: 58px;
    height: 58px;
    min-height: 58px;
  }

  .floating-whatsapp svg {
    width: 30px;
    height: 30px;
  }
}
