:root {
  --ink: #243138;
  --navy: #2d3a42;
  --navy-2: #223039;
  --gold: #9f9578;
  --gold-2: #b2a88b;
  --cream: #f7f3eb;
  --paper: #fffdf9;
  --white: #ffffff;
  --muted: #677279;
  --line: rgba(45, 58, 66, .13);
  --green: #1f8f55;
  --shadow: 0 18px 54px rgba(20, 31, 36, .09);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; inset-inline-start: -9999px; top: 8px; z-index: 9999; background: #fff; color: #111; padding: 8px 12px; border-radius: 8px; }
.skip-link:focus { inset-inline-start: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,253,249,.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45,58,66,.08);
}
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 48px; height: 56px; flex: 0 0 auto; }
.brand-copy { display: grid; line-height: 1.25; }
.brand-copy strong { font-size: 1rem; color: var(--navy); white-space: nowrap; }
.brand-copy span { color: var(--muted); font-size: .76rem; letter-spacing: .02em; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.top-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); font-weight: 700; font-size: .92rem; }
.top-link.primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.top-link svg { width: 18px; height: 18px; }

.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(178,168,139,.27);
  border-radius: 50%;
  inset-inline-start: -280px;
  top: -180px;
  box-shadow: 0 0 0 28px rgba(178,168,139,.06), 0 0 0 58px rgba(178,168,139,.04);
}
.hero::after {
  content: "";
  position: absolute;
  inset-inline-end: -110px;
  bottom: -210px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(178,168,139,.19);
}
.hero-grid { position: relative; z-index: 1; min-height: 610px; display: grid; grid-template-columns: 1.28fr .72fr; align-items: center; gap: 68px; padding: 76px 0 70px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #ded6c2; font-weight: 700; font-size: .9rem; margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold-2); }
h1 { margin: 0; font-size: clamp(2.35rem, 5vw, 4.55rem); line-height: 1.16; letter-spacing: -.025em; max-width: 820px; }
.hero-lead { margin: 22px 0 0; color: #e7ebed; font-size: clamp(1rem, 2vw, 1.18rem); max-width: 760px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border-radius: 14px; font-weight: 800; border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.cta:hover { transform: translateY(-2px); }
.cta.whatsapp { background: var(--green); color: #fff; box-shadow: 0 10px 26px rgba(31,143,85,.22); }
.cta.call { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.cta svg { width: 20px; height: 20px; }
.hero-note { margin-top: 16px; color: #bfc8cc; font-size: .88rem; }

.hero-proof { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-mark { width: 210px; opacity: .96; filter: drop-shadow(0 20px 30px rgba(0,0,0,.18)); }
.proof-ring { position: absolute; width: 340px; height: 340px; border-radius: 50%; border: 1px solid rgba(178,168,139,.26); }
.proof-ring::before, .proof-ring::after { content: ""; position: absolute; border-radius: 50%; inset: 23px; border: 1px solid rgba(178,168,139,.14); }
.proof-ring::after { inset: 52px; }

.trust-strip { background: var(--cream); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item { padding: 20px 18px; border-inline-start: 1px solid var(--line); }
.trust-item:first-child { border-inline-start: 0; }
.trust-item strong { display: block; color: var(--navy); font-size: .98rem; line-height: 1.4; }
.trust-item span { color: var(--muted); font-size: .82rem; }

.section { padding: 86px 0; }
.section.alt { background: var(--cream); }
.section-head { max-width: 760px; margin-bottom: 34px; }
.kicker { display: block; color: #81775f; font-weight: 800; font-size: .84rem; margin-bottom: 8px; }
h2 { margin: 0; color: var(--navy); font-size: clamp(1.72rem, 3.2vw, 2.65rem); line-height: 1.3; letter-spacing: -.015em; }
.section-head p { margin: 12px 0 0; color: var(--muted); font-size: 1rem; }

.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.service-card { position: relative; min-height: 205px; padding: 24px 20px 54px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 24px rgba(30,43,49,.035); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; outline: none; }
.service-card:hover, .service-card:focus-visible { transform: translateY(-4px); border-color: rgba(159,149,120,.72); box-shadow: var(--shadow); }
.service-card.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.service-card .icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--cream); color: var(--navy); margin-bottom: 18px; }
.service-card.active .icon { background: rgba(255,255,255,.1); color: var(--gold-2); }
.service-card .icon svg { width: 21px; height: 21px; }
.service-card h3 { margin: 0; color: inherit; font-size: 1.06rem; line-height: 1.45; }
.service-card p { margin: 9px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.7; }
.service-card.active p { color: #d6dde0; }
.service-card .more { position: absolute; inset-inline-start: 20px; bottom: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: .79rem; font-weight: 800; color: #7d735b; }
.service-card.active .more { color: #d9cfb5; }

.info-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: start; }
.info-panel { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 34px; position: sticky; top: 110px; overflow: hidden; }
.info-panel::after { content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%; border: 1px solid rgba(178,168,139,.28); inset-inline-end: -75px; bottom: -80px; }
.info-panel h3 { font-size: 1.5rem; margin: 0 0 8px; }
.info-panel p { color: #d4dcdf; margin: 0; }
.doc-list { display: grid; gap: 12px; }
.doc { display: flex; align-items: flex-start; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.doc-num { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; background: var(--cream); color: #7a7058; font-weight: 900; font-size: .75rem; }
.doc strong { display: block; color: var(--navy); font-size: .96rem; }
.doc span { display: block; color: var(--muted); font-size: .84rem; margin-top: 2px; }
.soft-note { margin-top: 16px; color: var(--muted); font-size: .88rem; }

.lawyer-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 60px; align-items: center; }
.lawyer-copy p { color: var(--muted); max-width: 690px; }
.credential-list { margin: 26px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.credential-list li { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; font-weight: 800; color: var(--navy); font-size: .9rem; }
.lawyer-card { min-height: 420px; border-radius: 26px; background: linear-gradient(145deg, #26353d, #33444d); position: relative; display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow); }
.lawyer-card::before { content: ""; position: absolute; width: 330px; height: 330px; border-radius: 50%; border: 1px solid rgba(178,168,139,.23); }
.lawyer-card::after { content: ""; position: absolute; width: 250px; height: 250px; border-radius: 50%; border: 1px solid rgba(178,168,139,.15); }
.lawyer-card img { width: 165px; position: relative; z-index: 1; opacity: .98; }
.lawyer-card .caption { position: absolute; z-index: 2; inset-inline: 24px; bottom: 24px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(4px); color: #fff; }
.lawyer-card .caption strong { display: block; }
.lawyer-card .caption span { color: #d8dfe2; font-size: .82rem; }

.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.step b { display: block; color: var(--gold); font-size: .8rem; letter-spacing: .08em; }
.step h3 { margin: 10px 0 5px; color: var(--navy); font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: .88rem; }

.cta-band { padding: 0 0 88px; }
.cta-box { background: var(--navy); color: #fff; border-radius: 28px; padding: 42px 46px; display: flex; align-items: center; justify-content: space-between; gap: 28px; position: relative; overflow: hidden; }
.cta-box::after { content: ""; position: absolute; width: 240px; height: 240px; border: 1px solid rgba(178,168,139,.2); border-radius: 50%; inset-inline-end: -80px; top: -110px; }
.cta-box h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta-box p { margin: 6px 0 0; color: #ced7da; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }

.faq { display: grid; gap: 10px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 0 18px; }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 800; color: var(--navy); }
summary::-webkit-details-marker { display: none; }
details p { color: var(--muted); margin: -4px 0 18px; font-size: .92rem; }

.site-footer { background: #202c33; color: #fff; padding: 48px 0 90px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 40px; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand img { width: 60px; }
.footer-brand strong { display: block; font-size: 1.05rem; }
.footer-brand span, .footer-col span, .footer-col a { color: #bfc9ce; font-size: .86rem; }
.footer-col { display: grid; align-content: start; gap: 7px; }
.footer-col b { color: #d7ceb4; margin-bottom: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 34px; padding-top: 18px; color: #89979e; font-size: .78rem; }

.mobile-bar { display: none; position: fixed; z-index: 100; inset-inline: 10px; bottom: 10px; min-height: 58px; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 36px rgba(0,0,0,.22); }
.mobile-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 900; color: #fff; }
.mobile-bar .wa { background: var(--green); }
.mobile-bar .ph { background: var(--navy); }
.mobile-bar svg { width: 19px; height: 19px; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; gap: 10px; padding: 64px 0; }
  .hero-proof { min-height: 260px; }
  .hero-mark { width: 150px; }
  .proof-ring { width: 240px; height: 240px; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(3) { border-inline-start: 0; border-top: 1px solid var(--line); }
  .trust-item:nth-child(4) { border-top: 1px solid var(--line); }
  .service-grid { grid-template-columns: repeat(2,1fr); }
  .service-card:last-child { grid-column: 1 / -1; }
  .info-grid, .lawyer-grid { grid-template-columns: 1fr; }
  .info-panel { position: relative; top: 0; }
  .lawyer-card { min-height: 330px; }
  .credential-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  .container { width: min(calc(100% - 24px), var(--max)); }
  .site-header { position: relative; }
  .header-inner { min-height: 72px; }
  .brand-copy span { display: none; }
  .brand-copy strong { font-size: .9rem; }
  .brand img { width: 42px; }
  .header-actions { display: none; }
  .hero-grid { padding: 50px 0 52px; }
  h1 { font-size: 2.38rem; }
  .hero-lead { font-size: 1rem; }
  .hero-ctas { display: grid; grid-template-columns: 1fr 1fr; }
  .cta { min-height: 50px; padding: 0 12px; font-size: .88rem; }
  .hero-proof { min-height: 210px; }
  .hero-mark { width: 124px; }
  .proof-ring { width: 190px; height: 190px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 15px 12px; }
  .section { padding: 62px 0; }
  .section-head { margin-bottom: 24px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:last-child { grid-column: auto; min-height: 0; padding-bottom: 50px; }
  .info-grid { gap: 26px; }
  .info-panel { padding: 26px 22px; }
  .lawyer-grid { gap: 28px; }
  .steps { grid-template-columns: 1fr; }
  .cta-band { padding-bottom: 62px; }
  .cta-box { padding: 30px 22px; flex-direction: column; align-items: flex-start; }
  .cta-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid > :first-child { grid-column: auto; }
  .mobile-bar { display: flex; }
}

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