:root {
  --ink: #14120e;
  --deep: #061019;
  --deep-2: #0d1b23;
  --paper: #fff8ea;
  --ivory: #f2e8d8;
  --line: #d6c4aa;
  --muted: #6f675b;
  --bronze: #d4ad72;
  --copper: #9d6f4b;
  --green: #20392e;
  --clay: #3b211b;
  --steel: #071925;
  --white: #fff;
  --shadow: 0 30px 90px rgba(6, 16, 25, 0.18);
  --radius: 8px;
  --sans: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --home-hero-image: url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1800&q=80");
  --hero-image: var(--home-hero-image);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(6,16,25,.96); color: var(--ivory); border-bottom: 1px solid rgba(242,232,216,.12); backdrop-filter: blur(18px); }
.nav-wrap { width: min(1220px, calc(100% - 40px)); min-height: 78px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: grid; gap: 2px; }
.brand-mark { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; line-height: 1; }
.brand-sub { color: rgba(242,232,216,.76); font-size: .82rem; }
.site-nav { display: flex; align-items: center; gap: 28px; color: rgba(242,232,216,.82); font-size: .96rem; }
.site-nav a { padding: 28px 0 24px; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ivory); border-color: var(--bronze); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid rgba(242,232,216,.24); border-radius: var(--radius); background: transparent; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; margin: 0 auto; background: var(--ivory); content: ""; position: relative; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 4px; }
.wrap, .hero-inner { width: min(1220px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 96px 0; }
.section.paper { background: var(--paper); }
.section.dark { color: var(--ivory); background: var(--deep); }
.section.dark .card,
.section.dark .fit-panel {
  color: var(--ink);
  background: rgba(255,248,234,.9);
  border-color: rgba(255,248,234,.26);
}
.section.dark .card h3,
.section.dark .fit-panel h3 { color: var(--ink); }
.section.dark .card p,
.section.dark .fit-panel p,
.section.dark .fit-panel li { color: rgba(20,18,14,.74); }
.section.compact { padding: 62px 0; }
.eyebrow { margin: 0 0 16px; color: var(--copper); font-size: .74rem; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.hero .eyebrow, .dark .eyebrow, .case-band .eyebrow { color: var(--bronze); }
h1,h2,h3,h4 { margin: 0; font-family: var(--serif); font-weight: 700; line-height: 1.12; letter-spacing: 0; overflow-wrap: break-word; }
h1 { max-width: 1010px; font-size: clamp(2.28rem, 5vw, 4.72rem); }
h2 { max-width: 920px; font-size: clamp(1.76rem, 3vw, 2.72rem); }
h3 { font-size: 1.26rem; }
h4 { font-size: 1.08rem; }
p { margin: 0; }
.lede { max-width: 790px; margin-top: 18px; color: rgba(20,18,14,.76); font-size: 1.09rem; line-height: 1.72; }
.hero .lede, .dark .lede, .case-band .lede { color: rgba(242,232,216,.84); }
.hero {
  min-height: 90vh;
  color: var(--ivory);
  display: flex;
  align-items: center;
  background-color: var(--deep);
  background-image:
    linear-gradient(90deg, rgba(6,16,25,.98) 0%, rgba(6,16,25,.84) 46%, rgba(6,16,25,.22) 100%),
    linear-gradient(180deg, rgba(6,16,25,.12), rgba(6,16,25,.82)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero.simple { min-height: 74vh; }
.hero-inner { padding: 108px 0 72px; }
.hero-content { max-width: 980px; }
.hero-content::before { display: block; width: 92px; height: 2px; margin-bottom: 28px; background: var(--bronze); content: ""; }
.actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 19px; border: 1px solid transparent; border-radius: var(--radius); font-size: .94rem; font-weight: 800; line-height: 1.1; cursor: pointer; transition: transform 160ms ease, border-color 160ms ease, background 160ms ease; }
.btn::after { content: "→"; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { color: var(--deep); background: var(--bronze); }
.btn.secondary { color: var(--ivory); border-color: rgba(242,232,216,.34); background: rgba(242,232,216,.055); }
.btn.dark { color: var(--ivory); background: var(--deep); }
.btn.line { color: var(--ink); border-color: var(--line); background: transparent; }
.q-back::after { content: ""; }
.hero-note { margin-top: 22px; color: rgba(242,232,216,.72); font-size: .93rem; }
.hero-signals, .case-strip { margin-top: 42px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(242,232,216,.22); border-radius: var(--radius); overflow: hidden; background: rgba(6,16,25,.55); backdrop-filter: blur(12px); }
.signal, .case-strip div { min-height: 122px; padding: 24px; border-right: 1px solid rgba(242,232,216,.15); display: grid; align-content: center; }
.signal:last-child, .case-strip div:last-child { border-right: 0; }
.signal strong, .case-strip strong { display: block; font-family: var(--serif); font-size: 1.72rem; line-height: 1; }
.signal span, .case-strip span { margin-top: 7px; color: rgba(242,232,216,.72); font-size: .88rem; }
.grid-3, .grid-4, .split, .matter-grid, .process, .footer-grid, .faq-grid { display: grid; gap: 16px; }
.grid-3 > *, .grid-4 > *, .split > *, .matter-grid > *, .process > *, .footer-grid > *, .faq-grid > *, .field-grid > *, .q-options > * { min-width: 0; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: start; }
.matter-grid { grid-template-columns: .86fr 1.14fr; gap: 42px; align-items: start; }
.card, .service-card, .document-card, .proof-card, .faq-item, .form-panel, .qualifier, .fit-panel { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,248,234,.78); box-shadow: 0 18px 54px rgba(20,18,14,.08); }
.card, .service-card, .document-card, .proof-card, .faq-item, .fit-panel { padding: 26px; }
.service-card { min-height: 270px; display: flex; flex-direction: column; justify-content: space-between; transition: transform 160ms ease, border-color 160ms ease; }
.service-card:hover { transform: translateY(-2px); border-color: var(--copper); }
.service-card .tag, .tag { display: inline-block; margin-bottom: 18px; color: var(--copper); font-size: .73rem; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.service-card p, .card p, .document-card p, .proof-card p, .faq-item p, .fit-panel p, li { color: rgba(20,18,14,.72); }
.service-card ul, .fit-panel ul { margin: 18px 0 0; padding-left: 18px; }
.service-card li, .fit-panel li { margin: 8px 0; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--copper); font-weight: 800; margin-top: 24px; }
.areas-section { color: var(--ivory); background: var(--deep); }
.areas-section .lede { color: rgba(242,232,216,.78); }
.practice-menu { margin-top: 38px; display: grid; gap: 14px; }
.practice-item {
  border: 1px solid rgba(242,232,216,.16);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(242,232,216,.08), rgba(242,232,216,.025));
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
  overflow: hidden;
}
.practice-link {
  min-height: 128px;
  display: grid;
  grid-template-columns: 74px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 26px 28px;
}
.practice-icon {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(212,173,114,.46);
  border-radius: 50%;
  color: var(--bronze);
  background: rgba(212,173,114,.08);
}
.practice-icon svg {
  width: 31px;
  height: 31px;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.practice-copy { display: grid; gap: 7px; }
.practice-name {
  font-family: var(--serif);
  font-size: clamp(1.52rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.05;
}
.practice-summary {
  color: rgba(242,232,216,.72);
  font-size: 1rem;
  line-height: 1.35;
}
.practice-arrow {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--deep);
  background: var(--bronze);
  font-weight: 800;
}
.practice-link:hover .practice-arrow { transform: translateX(2px); }
.practice-detail {
  border-top: 1px solid rgba(242,232,216,.12);
  padding: 0 28px 22px 124px;
}
.practice-detail summary {
  width: fit-content;
  padding-top: 18px;
  color: var(--bronze);
  font-weight: 800;
  cursor: pointer;
}
.practice-detail ul {
  margin: 14px 0 0;
  padding-left: 18px;
}
.practice-detail li {
  margin: 7px 0;
  color: rgba(242,232,216,.72);
}
.profile-card { display: grid; grid-template-columns: 210px 1fr; gap: 28px; align-items: start; }
.profile-card img { width: 210px; aspect-ratio: 1; border-radius: var(--radius); object-fit: cover; object-position: center; box-shadow: 0 18px 50px rgba(6,16,25,.18); }
.case-band { padding: 82px 0; color: var(--ivory); background: var(--area-dark, var(--deep)); }
.case-band .fit-panel { border-color: rgba(242,232,216,.18); background: rgba(242,232,216,.04); box-shadow: none; }
.case-band .fit-panel h3 { color: var(--ivory); }
.case-band .fit-panel p, .case-band li { color: rgba(242,232,216,.76); }
.process { grid-template-columns: repeat(4, 1fr); margin-top: 30px; counter-reset: step; }
.process .card { min-height: 190px; background: rgba(255,248,234,.88); }
.process .card::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 18px; color: var(--copper); font-weight: 800; }
.qualifier { overflow: hidden; background: var(--paper); }
.qualifier-head { padding: 26px 30px; color: var(--ivory); background: var(--deep); }
.qualifier-head p { margin-top: 8px; color: rgba(242,232,216,.76); }
.progress-label { margin-top: 18px; color: var(--bronze); font-weight: 800; font-size: .9rem; }
.q-step { display: none; padding: 28px 30px 30px; }
.q-step.is-active { display: block; }
.q-options { margin-top: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.q-options.single { grid-template-columns: 1fr; }
.option-btn { min-height: 58px; padding: 15px 17px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: rgba(255,255,255,.5); text-align: left; cursor: pointer; }
.option-btn:hover, .option-btn.is-selected { border-color: var(--copper); background: rgba(212,173,114,.2); }
.field-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field span { color: var(--muted); font-size: .85rem; font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 15px; color: var(--ink); background: rgba(255,255,255,.72); outline: none; }
textarea { min-height: 136px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--copper); box-shadow: 0 0 0 3px rgba(212,173,114,.18); }
.q-actions { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.contact-capture { margin-top: 22px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.34); }
.contact-capture p { margin-top: 8px; color: var(--muted); }
.q-error, .form-status { min-height: 22px; margin-top: 12px; color: #8b321f; font-weight: 800; }
.form-status:not(:empty):not(.is-error) { color: var(--green); }
.form-panel { padding: 30px; }
.form-head { margin-bottom: 20px; }
.form-note { margin-top: 24px; color: var(--muted); font-size: .92rem; display: grid; gap: 8px; }
.faq-grid { grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 28px; }
.faq-item { min-height: 160px; }
.faq-item p { margin-top: 12px; }
.site-footer { padding: 48px 0 36px; color: rgba(242,232,216,.72); background: #060c11; }
.footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: var(--ivory); }
.footer-grid p, .footer-grid a { display: block; margin-top: 8px; color: rgba(242,232,216,.72); }
.footer-grid a:hover { color: var(--ivory); }
.footer-bottom { margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(242,232,216,.14); color: rgba(242,232,216,.55); font-size: .84rem; }
[data-area="empresarial"] { --area-accent: #b2835d; --area-dark: var(--steel); --area-tint: #dfe7e8; --hero-image: url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1800&q=80"); }
[data-area="inmobiliaria"] { --area-accent: #7e9065; --area-dark: var(--green); --area-tint: #e4ebdb; --hero-image: url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1800&q=80"); }
[data-area="familiar"] { --area-accent: #a96f56; --area-dark: var(--clay); --area-tint: #f0ded3; --hero-image: url("https://images.unsplash.com/photo-1511895426328-dc8714191300?auto=format&fit=crop&w=1800&q=80"); }
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 560ms ease, transform 560ms ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; top: 78px; left: 0; right: 0; display: none; padding: 12px 20px 24px; background: rgba(6,16,25,.98); flex-direction: column; align-items: flex-start; gap: 0; }
  .site-nav.is-open { display: flex; }
  .site-nav a { width: 100%; padding: 15px 0; }
  .hero { min-height: auto; }
  .hero-inner { padding: 84px 0 52px; }
  .hero-signals, .case-strip, .grid-3, .grid-4, .split, .matter-grid, .process, .faq-grid, .footer-grid { grid-template-columns: 1fr; }
  .signal, .case-strip div { border-right: 0; border-bottom: 1px solid rgba(242,232,216,.15); }
  .profile-card { grid-template-columns: 1fr; }
  .profile-card img { width: min(260px, 100%); }
}
@media (max-width: 640px) {
  html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
  *, *::before, *::after { min-width: 0; }
  .wrap, .hero-inner, .nav-wrap {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }
  h1, h2, h3, h4, p, li, a, span, button { max-width: 100%; overflow-wrap: anywhere; word-break: normal; }
  main, section, .hero-content, .service-card, .form-panel, .qualifier, .card, .fit-panel {
    width: 100%;
    max-width: 100%;
  }
  .section { padding: 48px 0; }
  .site-header { background: var(--deep); }
  .nav-wrap { min-height: 64px; }
  .brand-mark { font-size: 1.15rem; }
  .brand-sub { font-size: .72rem; }
  .site-nav { top: 64px; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero {
    min-height: auto;
    background-color: var(--deep);
    background-image:
      linear-gradient(180deg, rgba(6,16,25,.98), rgba(6,16,25,.82)),
      var(--hero-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .hero-inner { padding: 44px 0 34px; }
  .hero-content::before { width: 64px; margin-bottom: 18px; }
  h1 { font-size: clamp(1.82rem, 8vw, 2.18rem); line-height: 1.08; }
  h2 { font-size: clamp(1.42rem, 6.4vw, 1.76rem); line-height: 1.12; }
  h3 { font-size: 1.12rem; }
  .lede { margin-top: 12px; font-size: 1rem; line-height: 1.55; }
  .hero .lede, .dark .lede, .case-band .lede { color: rgba(242,232,216,.9); }
  .hero-note { display: none; }
  .actions, .q-actions { flex-direction: column; }
  .btn { width: 100%; }
  .hero .actions { margin-top: 22px; }
  .hero .actions .btn.secondary { display: none; }
  .hero-signals, .case-strip { margin-top: 26px; background: rgba(6,16,25,.7); backdrop-filter: none; }
  .signal, .case-strip div { min-height: 86px; padding: 18px; }
  .signal strong, .case-strip strong { font-size: 1.28rem; }
  .signal span, .case-strip span { font-size: .82rem; line-height: 1.4; }
  .areas-section { padding: 54px 0; }
  .practice-menu { margin-top: 26px; gap: 12px; }
  .practice-link {
    min-height: 116px;
    grid-template-columns: 50px 1fr 34px;
    gap: 14px;
    padding: 18px;
  }
  .practice-icon {
    width: 44px;
    height: 44px;
  }
  .practice-icon svg {
    width: 24px;
    height: 24px;
  }
  .practice-name { font-size: 1.34rem; }
  .practice-summary { font-size: .88rem; }
  .practice-arrow {
    width: 32px;
    height: 32px;
  }
  .practice-detail {
    padding: 0 18px 18px 82px;
  }
  .practice-detail summary {
    padding-top: 14px;
    font-size: .9rem;
  }
  .practice-detail li {
    font-size: .9rem;
    line-height: 1.4;
  }
  .q-options, .field-grid { grid-template-columns: 1fr; }
  .card, .service-card, .document-card, .proof-card, .faq-item, .fit-panel { padding: 18px; }
  .proof-card h3, .card h3, .fit-panel h3 {
    font-size: 1.05rem;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }
  .proof-card p, .card p, .fit-panel p {
    font-size: .96rem;
    line-height: 1.46;
  }
  .service-card { min-height: auto; }
  .service-card .tag, .tag { margin-bottom: 10px; }
  .document-card p, .fit-panel p, .proof-card p, .faq-item p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  .service-card p, .service-card ul { display: none; }
  .kicker { margin-top: 16px; }
  .matter-grid, .split { gap: 26px; }
  .grid-3, .grid-4, .process, .faq-grid { gap: 12px; }
  .form-panel, .qualifier-head, .q-step { padding-left: 20px; padding-right: 20px; }
  .form-panel { padding-top: 22px; padding-bottom: 22px; }
  input, select, textarea { padding: 13px 14px; background: #fff; }
  textarea { min-height: 112px; }
  .form-note { font-size: .86rem; }
  .profile-card img { width: min(220px, 100%); margin: 0 auto; }
}
