:root {
  --navy-900: #0b1220;
  --navy-800: #0f1726;
  --navy-700: #16213a;
  --navy-600: #1f2d4d;
  --gold-500: #c9a24a;
  --gold-400: #d8b766;
  --gold-300: #e8d3a0;
  --ink: #e9edf5;
  --muted: #a7b0c2;
  --line: rgba(201, 162, 74, 0.22);
  --radius: 14px;
  --shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --num: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--navy-800);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; line-height: 1.15; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.08rem; font-weight: 600; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }

.icon { width: 1.15em; height: 1.15em; flex: none; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-400);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead { font-size: 1.12rem; color: var(--muted); max-width: 58ch; }
.lead--sm { font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 9px 16px; font-size: 0.88rem; }
.btn--gold { background: var(--gold-500); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-400); }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--gold-400); color: var(--gold-300); }
.btn--link { padding-inline: 6px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.btn--link:hover { color: var(--gold-300); transform: none; }

/* Topbar & header */
.topbar { background: var(--navy-900); color: var(--muted); font-size: 0.82rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar a:hover { color: var(--gold-300); }
.topbar__contact { display: flex; align-items: center; gap: 18px; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 6px; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 38, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 46px;
  white-space: nowrap;
  border: 1px solid var(--gold-500);
  border-radius: 10px;
  color: var(--gold-400);
  font: 600 1.1rem/1 var(--serif);
  letter-spacing: 0;
}
.brand__mark span { font-size: 0.8em; margin: 0 1px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font: 600 1.35rem/1.1 var(--serif); }
.brand__text small { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.04em; }

.nav { display: flex; align-items: center; gap: 26px; font-size: 0.93rem; }
.nav a:not(.btn) { color: var(--muted); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--ink); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--ink); transition: transform .2s, opacity .2s; }

/* Hero */
.hero {
  position: relative;
  padding: clamp(64px, 10vw, 120px) 0;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(201, 162, 74, 0.14), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(31, 45, 77, 0.9), transparent 70%),
    var(--navy-800);
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(31, 45, 77, 0.7), rgba(15, 23, 38, 0.6));
  box-shadow: var(--shadow);
}
.facts { list-style: none; margin: 0; padding: 0; }
.facts li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.facts li:first-child { padding-top: 0; }
.facts__num {
  min-width: 64px;
  color: var(--gold-400);
  font: 600 2rem/1 var(--num);
  font-variant-numeric: lining-nums;
}
.hero__note { margin: 18px 0 0; font-size: 0.85rem; color: var(--muted); }

/* Sections */
.section { padding: clamp(72px, 9vw, 112px) 0; }
.section--alt { background: var(--navy-700); }
.section__head { max-width: 640px; margin-bottom: 48px; }
.section__head p:not(.eyebrow) { color: var(--muted); margin: 12px 0 0; }
.section__head--center { margin-inline: auto; text-align: center; }

/* Areas */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.area {
  position: relative;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(22, 33, 58, 0.55);
  transition: border-color .2s, transform .2s, background .2s;
}
.area::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 0;
  width: 36px;
  height: 2px;
  background: var(--gold-500);
}
.area:hover { border-color: rgba(201, 162, 74, 0.55); transform: translateY(-3px); background: rgba(31, 45, 77, 0.6); }
.area h3 { font-family: var(--serif); font-size: 1.45rem; margin-bottom: 8px; }
.area p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* Split / philosophy */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.split h2 { margin-bottom: 16px; }
.checklist { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 30px; color: var(--muted); }
.checklist li strong { color: var(--ink); font-weight: 600; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--gold-500);
  border-bottom: 2px solid var(--gold-500);
  transform: rotate(-45deg);
}

.quote {
  margin: 0;
  padding: 44px 40px;
  border-left: 2px solid var(--gold-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(11, 18, 32, 0.45);
}
.quote blockquote { margin: 0; font: 500 1.7rem/1.4 var(--serif); font-style: italic; }
.quote figcaption { margin-top: 18px; color: var(--gold-400); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* Team */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.lawyer {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 26px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(22, 33, 58, 0.55);
}
.lawyer__photo {
  width: 150px;
  height: 150px;
  border-radius: 12px;
  object-fit: cover;
  object-position: 50% 20%;
  border: 1px solid var(--line);
}
.lawyer__photo--placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--navy-600), var(--navy-900));
  color: var(--gold-400);
  font: 600 2.8rem/1 var(--serif);
}
.lawyer h3 { font-family: var(--serif); font-size: 1.5rem; }
.lawyer__oab { margin: 4px 0 8px; color: var(--gold-400); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; }
.lawyer__body > p:not(.lawyer__oab) { margin: 0; color: var(--muted); font-size: 0.94rem; }
.lawyer__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { padding: 26px; border-top: 1px solid var(--gold-500); background: rgba(11, 18, 32, 0.35); border-radius: 0 0 var(--radius) var(--radius); }
.steps__n { display: block; color: var(--gold-400); font: 600 2.2rem/1 var(--num); font-variant-numeric: lining-nums; margin-bottom: 14px; }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(22, 33, 58, 0.55);
  transition: border-color .2s;
}
.faq details[open] { border-color: rgba(201, 162, 74, 0.55); }
.faq summary {
  position: relative;
  list-style: none;
  padding: 20px 56px 20px 24px;
  font-weight: 600;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-400);
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* Contact */
.split--contact { align-items: stretch; }
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.contact-list .icon { margin-top: 3px; color: var(--gold-400); }
.contact-list a:hover { color: var(--gold-300); }
.cta-box {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 18, 32, 0.4);
}
.cta-box p { margin: 0 0 16px; }
.cta-box .btn { margin: 0 10px 10px 0; }
.map { min-height: 380px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(0.4) contrast(1.05); }

/* Footer */
.footer { padding: 48px 0; background: var(--navy-900); color: var(--muted); font-size: 0.88rem; }
.footer__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer p { margin: 0 0 8px; }
.footer a:hover { color: var(--gold-300); }
.footer__brand { color: var(--ink); font: 600 1.4rem/1.2 var(--serif); }
.footer__legal { font-size: 0.8rem; }

/* WhatsApp floating */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.6);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 1000px) {
  .hero__inner, .split { grid-template-columns: 1fr; gap: 40px; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 20px;
    background: var(--navy-800);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .nav .btn { margin-top: 14px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

@media (max-width: 640px) {
  .topbar__inner span:first-child { display: none; }
  .topbar__inner { justify-content: center; }
  .brand__text strong { font-size: 1.15rem; }
  .areas, .steps, .footer__inner { grid-template-columns: 1fr; }
  .lawyer { grid-template-columns: 1fr; text-align: left; }
  .lawyer__photo { width: 120px; height: 120px; }
  .hero__actions .btn { width: 100%; }
  .quote { padding: 32px 24px; }
  .quote blockquote { font-size: 1.4rem; }
}
