:root {
  color-scheme: light;
  --ink: #211e1a;
  --paper: #f4f0e8;
  --paper-light: #fbf9f4;
  --muted: #766e63;
  --gold: #ad8d56;
  --gold-dark: #755d36;
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; padding: 30px 16px 18px; background: radial-gradient(ellipse at 50% 0%, #fffdf8 0, var(--paper) 68%); }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 4px; }
.business-card { width: min(100%, 460px); margin: 0 auto; overflow: hidden; border: 1px solid rgba(45,39,32,.12); background: var(--paper-light); box-shadow: 0 24px 70px rgba(42,35,25,.12); }
.brand-band { display: flex; align-items: center; justify-content: center; padding: 24px; border-bottom: 1px solid rgba(173,141,86,.32); background: #171615; text-align: center; }
.brand { display: flex; width: fit-content; max-width: 100%; margin: 0 auto; color: inherit; text-decoration: none; }
.brand-lockup { display: block; width: min(100%, 265px); height: auto; margin-inline: auto; object-fit: contain; }
.profile { padding: 34px 30px 25px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 17px; color: var(--gold-dark); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { width: 22px; height: 1px; background: var(--gold); }
h1 { margin: 0; font: 400 clamp(34px, 9vw, 43px)/1.03 Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
.role { margin: 11px 0 0; color: #70675c; font-size: 11px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.divider { display: flex; align-items: center; gap: 12px; width: 96px; margin: 24px auto 21px; color: var(--gold); font-size: 11px; }
.divider::before, .divider::after { height: 1px; flex: 1; background: rgba(173,141,86,.55); content: ""; }
.practice-cluster { margin: 0 auto; }
.practice-cluster + .practice-cluster { margin-top: 8px; }
.practice-label { margin: 0 0 2px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.practice-map { position: relative; width: min(100%, 280px); margin: 0 auto; padding-top: 8px; }
.practice-route { position: absolute; top: 12px; left: 0; width: 100%; height: 24px; overflow: visible; }
.practice-route { display: none; }
.practice-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; margin: 0; padding: 0; color: var(--ink); font: 16px/1.35 var(--serif); list-style: none; }
.practice-list li { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 5px; text-align: center; }
.practice-list li::before { width: 22px; height: 22px; flex: 0 0 22px; background: var(--gold); -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; content: ""; }
.practice-list-primary li::before { background: var(--gold-dark); }
.practice-list li[data-area="civil"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v13H7z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='M10 13h6M10 17h6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v13H7z'/%3E%3Cpath d='M14 3v5h5'/%3E%3Cpath d='M10 13h6M10 17h6'/%3E%3C/svg%3E"); }
.practice-list li[data-area="familiar"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20.5s-7.5-4.6-7.5-10A4.3 4.3 0 0 1 12 7.8a4.3 4.3 0 0 1 7.5 2.7c0 5.4-7.5 10-7.5 10z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20.5s-7.5-4.6-7.5-10A4.3 4.3 0 0 1 12 7.8a4.3 4.3 0 0 1 7.5 2.7c0 5.4-7.5 10-7.5 10z'/%3E%3C/svg%3E"); }
.practice-list li[data-area="laboral"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='7.5' width='17' height='12' rx='1.5'/%3E%3Cpath d='M9 7.5V5.5A1.5 1.5 0 0 1 10.5 4h3A1.5 1.5 0 0 1 15 5.5v2'/%3E%3Cpath d='M3.5 13h17'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='7.5' width='17' height='12' rx='1.5'/%3E%3Cpath d='M9 7.5V5.5A1.5 1.5 0 0 1 10.5 4h3A1.5 1.5 0 0 1 15 5.5v2'/%3E%3Cpath d='M3.5 13h17'/%3E%3C/svg%3E"); }
.practice-list li[data-area="amparo"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7.5 3v5.5c0 4.5-3.2 8-7.5 9.5-4.3-1.5-7.5-5-7.5-9.5V6z'/%3E%3Cpath d='M9 12l2.2 2.2L15.5 10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7.5 3v5.5c0 4.5-3.2 8-7.5 9.5-4.3-1.5-7.5-5-7.5-9.5V6z'/%3E%3Cpath d='M9 12l2.2 2.2L15.5 10'/%3E%3C/svg%3E"); }
.practice-list li[data-area="mercantil"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h14M14.5 4.5L18 8l-3.5 3.5'/%3E%3Cpath d='M20 16H6M9.5 12.5L6 16l3.5 3.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h14M14.5 4.5L18 8l-3.5 3.5'/%3E%3Cpath d='M20 16H6M9.5 12.5L6 16l3.5 3.5'/%3E%3C/svg%3E"); }
.practice-list li[data-area="penal"]::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.5 3.5l7 7-3.2 3.2-7-7z'/%3E%3Cpath d='M11.8 12.2L4.5 19.5'/%3E%3Cpath d='M3 21h8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.5 3.5l7 7-3.2 3.2-7-7z'/%3E%3Cpath d='M11.8 12.2L4.5 19.5'/%3E%3Cpath d='M3 21h8'/%3E%3C/svg%3E"); }
.practice-list li strong { font-weight: 700; }
.practice-list-primary { font-weight: 400; }
.practice-list-primary strong { font-weight: 700; }
.practice-list-other { font-weight: 400; }
.actions { display: grid; gap: 9px; padding: 0 24px 27px; }
.action { display: grid; min-height: 68px; grid-template-columns: 42px 1fr 16px; align-items: center; gap: 12px; padding: 10px 13px; border: 1px solid rgba(45,39,32,.17); background: #fffefa; text-decoration: none; transition: background .18s, border-color .18s, transform .18s; }
.action:hover { transform: translateY(-1px); border-color: var(--gold); background: #fff; }
.action-icon { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(45,39,32,.14); color: var(--gold-dark); font: 19px Georgia, serif; }
.action small, .action strong { display: block; }
.action small { margin-bottom: 4px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.action strong { overflow-wrap: anywhere; font-size: 13px; font-weight: 600; }
.action > b { color: var(--gold-dark); font-size: 12px; }
.action-whatsapp { border-color: rgba(74,104,69,.3); background: #f5f7f1; }
.action-whatsapp .action-icon { border-color: #87957f; color: #52664c; }
.action-save { background: #f2ece0; }
.card-footer { padding: 22px 26px 25px; border-top: 1px solid rgba(45,39,32,.12); text-align: center; }
.share-link { display: block; width: fit-content; max-width: 100%; margin: 0 auto 20px; padding: 11px 15px; border: 1px solid rgba(74,104,69,.35); color: #52664c; background: #f5f7f1; font-size: 10px; font-weight: 700; text-decoration: none; }
.share-link span { margin-left: 7px; }
.share-link:hover { border-color: #52664c; background: #eef2e9; }
.follow-label { margin: 0 0 12px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.socials a { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-dark); font-size: 10px; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.socials a:hover { color: var(--ink); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }
.socials a:nth-child(2) svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.socials .icon-dot { fill: currentColor; stroke: none; }
.site-link span { padding-left: 3px; }
.social-handle { margin: 9px 0 0; color: var(--ink); font: 16px var(--serif); }
.site-link { display: inline-block; margin-top: 15px; color: var(--ink); font: 17px Georgia, "Times New Roman", serif; letter-spacing: .02em; }
.footer-rule { width: 36px; height: 1px; margin: 15px auto 12px; background: var(--gold); }
.card-footer p { margin: 0; color: var(--muted); font-size: 10px; }
.back-link { display: inline-block; margin-top: 14px; color: var(--muted); font-size: 9px; text-decoration: underline; text-decoration-color: rgba(117,93,54,.45); text-underline-offset: 3px; }
.page-note { margin: 15px 0 0; color: #918675; font-size: 9px; letter-spacing: .16em; text-align: center; text-transform: uppercase; }

@media (max-width: 380px) {
  body { padding: 12px 10px; }
  .brand-band { padding: 20px 16px; }
  .profile { padding: 29px 18px 22px; }
  .actions { padding-right: 16px; padding-left: 16px; }
  .practice-list { font-size: 15px; }
  .card-footer { padding-right: 18px; padding-left: 18px; }
  .socials { gap: 14px; }
}
