:root {
  --ink: #101d2f;
  --deep: #0a1b34;
  --green: #173b66;
  --gold: #c8a65d;
  --cream: #f5f1e8;
  --paper: #fffdf9;
  --line: #ddd7ca;
  --muted: #647080;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; line-height: 1.6; }
a { color: inherit; }
.hero, .practice, .service { scroll-margin-top: 120px; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: white; padding: 10px; z-index: 100; }
.skip-link:focus { left: 10px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,253,248,.95); border-bottom: 1px solid rgba(19,33,29,.1); backdrop-filter: blur(12px); }
.header-inner { min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; line-height: 1.2; }
.header-logo { display: block; width: 145px; height: auto; }
.brand small { display: block; color: var(--muted); font-size: 11px; letter-spacing: .07em; white-space: nowrap; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { text-decoration: none; font-size: 14px; font-weight: 600; }
.nav-cta { border: 1px solid var(--green); padding: 9px 16px; border-radius: 999px; }

.hero { padding: 84px 0 80px; background: radial-gradient(circle at 82% 24%, rgba(200,166,93,.22), transparent 27%), linear-gradient(135deg, var(--cream), #fffdf9 65%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero-copy { max-width: 680px; }
.eyebrow { margin: 0 0 18px; color: var(--green); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 700; }
h1, h2 { font-family: "Libre Baskerville", serif; line-height: 1.18; margin: 0; }
h1 { max-width: 700px; font-size: clamp(42px, 5vw, 60px); letter-spacing: -.035em; }
h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.025em; }
.hero-text { max-width: 690px; margin: 28px 0; color: #42504b; font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 22px; border-radius: 4px; text-decoration: none; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: white; }
.button-primary:hover { background: var(--deep); }
.button-secondary { border: 1px solid var(--ink); }
.hero-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(16,29,47,.16); }
.hero-details p { margin: 0; color: var(--muted); font-size: 13px; }
.hero-details strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.profile-panel { width: 100%; max-width: 540px; margin: 0 0 0 auto; overflow: hidden; border-radius: 4px; box-shadow: 24px 24px 0 rgba(200,166,93,.24); background: var(--deep); }
.profile-image { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; }

.practice { padding: 100px 0; }
.section-heading { max-width: 720px; margin-bottom: 46px; }
.practice-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.practice-grid article { min-height: 270px; padding: 30px 26px; border-right: 1px solid var(--line); }
.practice-grid article:last-child { border-right: 0; }
.practice-grid span { color: var(--gold); font-family: "Libre Baskerville", serif; }
.practice-grid h3 { margin: 40px 0 12px; font-family: "Libre Baskerville", serif; font-size: 21px; }
.practice-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.practice-note { margin: 22px 0 0; color: var(--muted); font-size: 13px; }

.service { padding: 90px 0; background: #f1f3f5; }
.service-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.service ol { list-style: none; margin: 0; padding: 0; }
.service li { display: grid; grid-template-columns: 46px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid #cbd0c7; }
.service li > span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--green); border-radius: 50%; color: var(--green); font-weight: 700; }
.service strong { font-family: "Libre Baskerville", serif; font-size: 19px; }
.service li p { margin: 5px 0 0; color: var(--muted); }

.location { padding: 80px 0; }
.location-card { display: grid; grid-template-columns: 1.15fr .85fr; align-items: stretch; padding: 0; overflow: hidden; background: var(--deep); color: white; }
.office-image { display: block; width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.location-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 48px; }
.location-card .eyebrow { color: var(--gold); }
.location-card h2 { max-width: 650px; }
address { margin-top: 20px; color: #cbd8d3; font-style: normal; }
.button-light { margin-top: 28px; background: var(--cream); color: var(--deep); white-space: nowrap; }
.final-cta { padding: 60px 0 100px; text-align: center; }
.final-cta p:not(.eyebrow) { color: var(--muted); margin-bottom: 26px; }
.contact-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 900px; margin: 32px auto 0; text-align: left; }
.contact-options a { padding: 20px 22px; border: 1px solid var(--line); border-radius: 4px; background: white; text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.contact-options a:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 12px 28px rgba(10,27,52,.08); }
.contact-options span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.contact-options strong { font-size: 15px; }

footer { padding: 48px 0 28px; background: #101c18; color: white; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-grid div:last-child { text-align: right; }
footer p { margin: 5px 0 0; color: #a9bbb5; font-size: 13px; }
footer a { color: white; }
.legal-note { margin-top: 35px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 15; padding: 13px 18px; border-radius: 999px; background: #1b8f57; color: white; text-decoration: none; font-size: 14px; font-weight: 700; box-shadow: 0 8px 22px rgba(0,0,0,.22); }

@media (max-width: 900px) {
  nav a:not(.nav-cta) { display: none; }
  .hero { padding-top: 60px; }
  .hero-grid, .service-grid { grid-template-columns: 1fr; gap: 46px; }
  .profile-panel { max-width: 560px; margin: 0 auto; }
  .location-card { grid-template-columns: 1fr; }
  .office-image { min-height: 360px; }
  .contact-options { grid-template-columns: 1fr; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .practice-grid article:nth-child(2) { border-right: 0; }
  .practice-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1120px); }
  .header-inner { min-height: 80px; }
  .header-logo { width: 105px; }
  .brand { gap: 8px; }
  .brand small { font-size: 9px; }
  .nav-cta { padding: 8px 12px; font-size: 12px; }
  h1 { font-size: 39px; }
  .hero { padding: 48px 0 58px; }
  .hero-text { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .hero-details { grid-template-columns: 1fr; gap: 14px; }
  .profile-panel { box-shadow: 12px 12px 0 rgba(197,166,106,.25); }
  .practice, .service { padding: 70px 0; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-grid article { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--line); }
  .practice-grid article:last-child { border-bottom: 0; }
  .practice-grid h3 { margin-top: 28px; }
  .office-image { min-height: 260px; }
  .location-copy { padding: 34px 26px; }
  .location-card .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid div:last-child { text-align: left; }
  .floating-whatsapp { right: 14px; bottom: 14px; }
}
