: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(246,241,232,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45,58,66,.065);
}
.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; }
.availability-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  position: relative;
  z-index: 3;
  color: #eadfbf;
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 28px;
  transform: translateY(-12px);
}

.availability-now {
  color: #f4e6b7;
  font-weight: 950;
  display: inline-block;
  animation: availability-word-blink 1.7s ease-in-out infinite;
}
@keyframes availability-word-blink {
  0%, 100% { opacity: 1; text-shadow: 0 0 0 rgba(244,230,183,0); }
  50% { opacity: .48; text-shadow: 0 0 10px rgba(244,230,183,.28); }
}

.availability-radar {
  position: relative;
  z-index: 2;
  isolation: isolate;
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #39d977;
  box-shadow:
    0 0 0 3px rgba(57,217,119,.16),
    0 0 9px rgba(57,217,119,.56);
}
.availability-radar::before,
.availability-radar::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border: 1.5px solid rgba(83,238,139,.88);
  border-radius: 50%;
  transform: translate(-50%,-50%) scale(1);
  opacity: .9;
  animation: availability-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
.availability-radar::after { animation-delay: 1.2s; }
.availability-status.is-offline { color: #eadfbf; }
.availability-status.is-offline .availability-radar {
  background: var(--gold-2);
  box-shadow:
    0 0 0 5px rgba(216,206,179,.14),
    0 0 12px rgba(216,206,179,.34);
}
.availability-status.is-offline .availability-radar::before,
.availability-status.is-offline .availability-radar::after {
  border-color: rgba(226,214,180,.78);
  animation-duration: 3.2s;
}
@keyframes availability-pulse {
  0% { transform: translate(-50%,-50%) scale(1); opacity: .9; }
  65% { opacity: .34; }
  100% { transform: translate(-50%,-50%) scale(3.2); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .availability-radar::before, .availability-radar::after { animation: none; opacity: .28; transform: translate(-50%,-50%) scale(2.3); }
  .availability-now { animation: none; }
}

@media (max-width: 640px) {
  .availability-status {
    font-size: .96rem;
    gap: 8px;
    transform: translateY(-10px);
    margin-bottom: 20px;
  }
  .availability-radar {
    width: 10px;
    height: 10px;
    flex-basis: 10px;
  }
  .availability-radar::before,
  .availability-radar::after {
    width: 10px;
    height: 10px;
  }
}
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; isolation: isolate; }
.hero-proof::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 380px;
  height: 380px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  background:
    conic-gradient(from 0deg,
      rgba(72, 187, 120, 0) 0deg,
      rgba(72, 187, 120, 0) 282deg,
      rgba(72, 187, 120, .05) 305deg,
      rgba(120, 243, 175, .20) 330deg,
      rgba(255, 255, 255, .10) 341deg,
      rgba(72, 187, 120, 0) 360deg);
  filter: blur(1.4px);
  opacity: .72;
  animation: heroRadarSweep 6.6s linear infinite;
  will-change: transform;
}
.hero-proof::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 382px;
  height: 382px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 0 18.6%, rgba(182,171,139,.26) 18.8% 19.2%, transparent 19.5%),
    radial-gradient(circle at center, transparent 0 31.2%, rgba(182,171,139,.23) 31.4% 31.8%, transparent 32.1%),
    radial-gradient(circle at center, transparent 0 43.8%, rgba(182,171,139,.20) 44% 44.4%, transparent 44.7%),
    radial-gradient(circle at center, transparent 0 56.4%, rgba(182,171,139,.17) 56.6% 57%, transparent 57.3%),
    radial-gradient(circle at center, transparent 0 69%, rgba(182,171,139,.14) 69.2% 69.6%, transparent 69.9%);
  opacity: .92;
}
.hero-mark { position: relative; z-index: 3; width: 210px; opacity: .97; filter: drop-shadow(0 20px 30px rgba(0,0,0,.18)); }
.proof-ring,
.proof-ring::before,
.proof-ring::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(.58);
  border: 1.5px solid rgba(147, 229, 182, .48);
  box-shadow: 0 0 8px rgba(53, 184, 111, .07), inset 0 0 8px rgba(255,255,255,.02);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  animation: heroRadarWave 4s cubic-bezier(.18,.66,.18,1) infinite;
  will-change: transform, opacity;
}
.proof-ring::before { animation-delay: 1.33s; }
.proof-ring::after { animation-delay: 2.66s; }

@keyframes heroRadarWave {
  0% { transform: translate(-50%, -50%) scale(.58); opacity: 0; }
  10% { opacity: .65; }
  62% { opacity: .18; }
  100% { transform: translate(-50%, -50%) scale(3.2); opacity: 0; }
}
@keyframes heroRadarSweep {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-proof::before,
  .proof-ring, .proof-ring::before, .proof-ring::after {
    animation: none;
  }
  .proof-ring, .proof-ring::before, .proof-ring::after {
    opacity: .28;
    transform: translate(-50%, -50%) scale(2.2);
  }
}

.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; }
.lawyer-stats { margin-top: 24px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.lawyer-stat { background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.lawyer-stat strong { display: block; color: var(--navy); font-size: 1.55rem; line-height: 1.1; }
.lawyer-stat span { display: block; color: var(--muted); font-size: .82rem; margin-top: 6px; line-height: 1.55; }
.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: 280px; }
  .hero-proof::before { width: 300px; height: 300px; }
  .hero-proof::after { width: 302px; height: 302px; }
  .hero-mark { width: 150px; }
  .proof-ring, .proof-ring::before, .proof-ring::after { width: 84px; height: 84px; }
  .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; }

  /* Mobile hero: keep the availability signal clear without crowding the edge or headline. */
  .availability-status {
    font-size: .98rem;
    gap: 13px;
    transform: translateY(-8px);
    margin-bottom: 24px;
    margin-inline-start: 14px;
  }
  .availability-radar {
    width: 8px;
    height: 8px;
    flex-basis: 8px;
  }
  .availability-radar::before,
  .availability-radar::after {
    width: 8px;
    height: 8px;
  }

  h1 { font-size: 2.05rem; line-height: 1.22; }
  .hero-lead { font-size: 1.06rem; line-height: 1.9; }
  .hero-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .cta { min-height: 58px; padding: 0 14px; font-size: 1rem; }
  .cta svg { width: 22px; height: 22px; }
  .hero-note { font-size: .96rem; line-height: 1.85; }
  .hero-proof { min-height: 228px; }
  .hero-proof::before { width: 236px; height: 236px; filter: none; opacity: .52; }
  .hero-proof::after { width: 238px; height: 238px; }
  .hero-mark { width: 124px; }
  .proof-ring, .proof-ring::before, .proof-ring::after { width: 68px; height: 68px; }

  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 16px 12px; }
  .trust-item strong { font-size: 1rem; }
  .trust-item span { font-size: .9rem; line-height: 1.65; }

  /* Slightly raise secondary mobile type so the page stays comfortable to read. */
  .section { padding: 62px 0; }
  .section-head { margin-bottom: 24px; }
  .section-head p { font-size: 1rem; line-height: 1.8; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:last-child { grid-column: auto; min-height: 0; padding-bottom: 50px; }
  .service-card p { font-size: .9rem; }
  .service-card .more { font-size: .86rem; }
  .info-grid { gap: 26px; }
  .info-panel { padding: 26px 22px; }
  .doc span { font-size: .9rem; }
  .soft-note { font-size: .92rem; }
  .lawyer-grid { gap: 28px; }
  .lawyer-copy p { font-size: 1rem; }
  .lawyer-stats { grid-template-columns: 1fr; }
  .lawyer-stat span { font-size: .9rem; }
  .credential-list li { font-size: .95rem; }
  .steps { grid-template-columns: 1fr; }
  .step p { font-size: .94rem; }
  details p { font-size: .96rem; }
  summary { font-size: 1rem; }
  .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; }
  .footer-brand span, .footer-col span, .footer-col a { font-size: .9rem; }
  .mobile-bar { display: flex; }
}

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