:root {
  --green-950: #163126;
  --green-900: #203f30;
  --green-800: #2d4c3a;
  --green-700: #3e614d;
  --green-200: #dce5df;
  --beige-100: #f7f4ef;
  --beige-200: #f1ece6;
  --beige-300: #e7dfd5;
  --stone-400: #aaa49d;
  --ink: #1f2723;
  --muted: #5f6863;
  --white: #ffffff;
  --border: rgba(45, 76, 58, 0.16);
  --shadow: 0 24px 60px rgba(20, 42, 32, 0.12);
  --radius: 4px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--beige-100);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }


.hero-lead,
.hero-note,
.about-copy p,
.split-heading > p,
.practice-card p,
.experience-copy > p:not(.eyebrow),
.process-card p,
.faq-list details p,
.contact-copy > p:not(.eyebrow),
.faq-list summary,
.contact-form label,
.direct-contact a,
.footer-main p,
.footer-legal p {
  text-align: justify;
  text-justify: inter-word;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 9999;
  transform: translateY(-180%);
  padding: .75rem 1rem;
  background: var(--white);
  color: var(--green-900);
  border: 1px solid var(--green-900);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 2.5rem), var(--container)); margin-inline: auto; }
.section { padding: 7.5rem 0; }
.section-light { background: var(--beige-100); }
.section-dark { background: var(--green-950); color: var(--white); }
.section-accent { background: var(--beige-200); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 239, .94);
  border-bottom: 1px solid rgba(45, 76, 58, .09);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { width: 190px; overflow: hidden; text-decoration: none; }
.brand img { width: 100%; height: 64px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: .89rem;
  letter-spacing: .01em;
  transition: color .2s ease;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--green-700); }
.main-nav .nav-contact {
  padding: .72rem 1.05rem;
  border: 1px solid var(--green-800);
  color: var(--green-800);
}
.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-button span { width: 24px; height: 1px; background: var(--green-900); transition: .2s ease; }

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 20%, rgba(45,76,58,.08), transparent 35%),
    linear-gradient(135deg, #f8f5f0 0%, #f0ebe4 100%);
}
.hero-monogram {
  position: absolute;
  right: -2vw;
  top: -13rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28rem, 58vw, 56rem);
  line-height: 1;
  color: rgba(45, 76, 58, .045);
  user-select: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  padding: 7rem 0;
}
.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--green-700);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
}
.eyebrow-light { color: #b9cec1; }
.hero h1, .section h2, .practice-card h3, .portrait-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.025em;
}
.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3.35rem, 6vw, 6.1rem);
  line-height: .99;
  color: var(--green-950);
}
.hero-lead {
  max-width: 680px;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.3rem; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.4rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: .87rem;
  font-weight: 650;
  letter-spacing: .025em;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--green-800); border-color: var(--green-800); }
.button-primary:hover { background: var(--green-950); border-color: var(--green-950); }
.button-secondary { color: var(--green-900); background: transparent; border-color: rgba(45,76,58,.38); }
.button-secondary:hover { border-color: var(--green-800); }
.hero-note { margin: 1.5rem 0 0; font-size: .8rem; color: #77807b; }

.hero-portrait {
  position: relative;
  width: min(100%, 455px);
  justify-self: end;
  margin: 0;
}
.hero-portrait picture { display: block; }
.hero-portrait picture::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(17,35,27,.25) 100%);
}
.hero-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 2.75;
  object-fit: cover;
  object-position: 50% 30%;
  border: 1px solid rgba(45,76,58,.15);
  box-shadow: 0 28px 70px rgba(23,43,34,.18);
}
.hero-portrait::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -1rem;
  right: -1rem;
  width: 82%;
  height: 92%;
  border: 1px solid rgba(45,76,58,.24);
}
.portrait-card {
  position: absolute;
  left: -2.2rem;
  right: 2rem;
  bottom: 2rem;
  padding: 1.5rem 1.65rem 1.45rem;
  background: rgba(247,244,239,.94);
  border-left: 4px solid var(--green-800);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.small-label { margin: 0 0 .72rem; font-size: .65rem; letter-spacing: .18em; color: var(--green-700); font-weight: 700; }
.portrait-card h2 { margin: 0; font-size: 1.55rem; line-height: 1.12; color: var(--green-950); }
.portrait-card .oab { margin: .42rem 0 0; color: var(--green-700); font-size: .8rem; font-weight: 650; letter-spacing: .07em; }

.trust-strip { background: var(--green-800); color: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid div { min-height: 104px; display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.6rem; border-right: 1px solid rgba(255,255,255,.14); }
.trust-grid div:first-child { border-left: 1px solid rgba(255,255,255,.14); }
.trust-grid span { color: #b7c6bd; font-size: .73rem; letter-spacing: .12em; }
.trust-grid strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.02rem; font-weight: 400; }

.about-grid { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.section-heading h2 { margin: 0; font-size: clamp(2.55rem, 4vw, 4.2rem); line-height: 1.08; color: var(--green-950); }
.about-copy { max-width: 720px; }
.about-copy p { margin: 0 0 1.45rem; color: var(--muted); font-size: 1.02rem; }
.about-copy .lead-paragraph { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2vw, 1.72rem); line-height: 1.55; }

.split-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .55fr); gap: 4rem; align-items: end; margin-bottom: 4rem; }
.split-heading > p { margin: 0 0 .25rem; color: var(--muted); }
.section-dark .section-heading h2 { color: var(--white); }
.section-dark .split-heading > p { color: #bbc7c0; }
.practice-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}
.practice-card {
  grid-column: span 6;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  padding: clamp(1.8rem, 3vw, 2.7rem);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.035);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.practice-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.065);
  border-color: rgba(255,255,255,.28);
}
.practice-index { color: #9fb7a8; font-size: .68rem; font-weight: 700; letter-spacing: .18em; }
.practice-card h3 { margin: 2.8rem 0 1.15rem; font-size: clamp(1.65rem, 2.3vw, 2.35rem); line-height: 1.12; color: #f6f7f6; }
.practice-card p { margin: auto 0 0; color: #acb9b1; font-size: .93rem; line-height: 1.65; }

.experience-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.experience-quote { position: relative; padding: 4rem; border: 1px solid var(--border); background: rgba(255,255,255,.5); }
.experience-quote::before { content: "“"; position: absolute; top: -.25rem; left: 1.5rem; color: rgba(45,76,58,.12); font: 8rem/1 Georgia, serif; }
.experience-quote p { position: relative; margin: 0; font-family: Georgia, "Times New Roman", serif; color: var(--green-950); font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.24; }
.experience-copy h2 { margin: 0 0 1.6rem; font-size: clamp(2.5rem, 4vw, 4rem); line-height: 1.06; color: var(--green-950); }
.experience-copy > p:not(.eyebrow) { margin: 0 0 1.25rem; color: var(--muted); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; margin: 0; }
.process-card { min-height: 280px; padding: 2rem 1.7rem; border: 1px solid var(--border); border-right: 0; background: rgba(255,255,255,.45); }
.process-card:last-child { border-right: 1px solid var(--border); }
.process-card > span { color: var(--green-700); font-size: .75rem; letter-spacing: .15em; }
.process-card h3 { margin: 4rem 0 1rem; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 1.45rem; color: var(--green-950); }
.process-card p { margin: 0; color: var(--muted); font-size: .92rem; }

.section-faq { background: #ece6de; }
.faq-grid { display: grid; grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.faq-list { border-top: 1px solid rgba(45,76,58,.25); }
details { border-bottom: 1px solid rgba(45,76,58,.25); }
summary { list-style: none; position: relative; padding: 1.45rem 3rem 1.45rem 0; cursor: pointer; font-family: Georgia, "Times New Roman", serif; font-size: 1.22rem; color: var(--green-950); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); font: 300 1.6rem/1 sans-serif; color: var(--green-700); }
details[open] summary::after { content: "−"; }
details p { margin: -.25rem 3.2rem 1.4rem 0; color: var(--muted); }

.contact-section { background: var(--green-900); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.contact-copy h2 { margin: 0 0 1.5rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.65rem, 4.8vw, 4.8rem); line-height: 1.03; font-weight: 400; }
.contact-copy > p:not(.eyebrow) { color: #c0ccc5; }
.direct-contact { display: grid; gap: .8rem; margin-top: 2.5rem; }
.direct-contact a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.16); text-decoration: none; }
.direct-contact span { color: #9eb2a5; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.direct-contact strong { font-size: .9rem; font-weight: 600; }
.contact-form { padding: clamp(2rem, 4vw, 3.5rem); background: var(--beige-100); color: var(--ink); box-shadow: 0 20px 50px rgba(0,0,0,.16); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.contact-form label { display: grid; gap: .55rem; margin-bottom: 1.1rem; color: var(--green-950); font-size: .78rem; font-weight: 700; letter-spacing: .035em; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  border: 1px solid #cfc8bf;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  padding: .85rem .9rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea { resize: vertical; min-height: 145px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(45,76,58,.1); }
.contact-form .consent { display: flex; grid-template-columns: none; gap: .75rem; align-items: flex-start; margin: 1.2rem 0; color: var(--muted); font-size: .75rem; font-weight: 500; letter-spacing: 0; }
.consent input { width: 17px; height: 17px; margin: .15rem 0 0; flex: 0 0 auto; }
.consent a { color: var(--green-800); }
.form-error { padding: .8rem; background: #f7e8e5; color: #8b2d20; font-size: .82rem; }
.button-form { width: 100%; margin-top: .6rem; background: var(--green-800); color: #fff; border-color: var(--green-800); }
.button-form:hover { background: var(--green-950); }

.site-footer { background: #13261d; color: #c5cec8; }
.footer-main { display: grid; grid-template-columns: 1.15fr 1fr 1fr .8fr; gap: 2.5rem; padding: 4rem 0 3rem; align-items: start; }
.footer-brand { width: fit-content; max-width: 240px; overflow: hidden; opacity: .96; padding: .45rem .7rem; background: rgba(247, 244, 239, .94); }
.footer-brand img { width: 100%; height: 96px; object-fit: contain; object-position: left center; }
.footer-main p { margin: 0; font-size: .84rem; }
.footer-main .footer-title { margin: 0 0 .8rem; color: #fff; font-weight: 650; }
.footer-main a { text-decoration: none; }
.footer-main a:hover { color: #fff; }
.footer-legal { display: flex; justify-content: space-between; gap: 2rem; padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.1); }
.footer-legal p { margin: 0; font-size: .7rem; color: #91a097; }
.footer-legal p:last-child { text-align: right; max-width: 660px; }

.floating-whatsapp {
  position: fixed;
  z-index: 40;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-800);
  box-shadow: 0 12px 30px rgba(20,42,32,.28);
  transition: transform .2s ease, background .2s ease;
}
.floating-whatsapp:hover { transform: translateY(-3px); background: var(--green-950); }
.floating-whatsapp svg { width: 26px; fill: #fff; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

:focus-visible { outline: 3px solid rgba(45,76,58,.35); outline-offset: 3px; }

@media (max-width: 980px) {
  .section { padding: 6rem 0; }
  .menu-button { display: flex; }
  .main-nav {
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.4rem;
    background: var(--beige-100);
    border-bottom: 1px solid var(--border);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: .9rem .25rem; border-bottom: 1px solid var(--border); }
  .main-nav .nav-contact { margin-top: .8rem; text-align: center; border: 1px solid var(--green-800); }
  .hero-grid, .about-grid, .experience-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-grid { padding: 6rem 0; }
  .hero-portrait { justify-self: start; width: min(100%, 560px); }
  .portrait-card { left: 1.5rem; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid div:nth-child(2) { border-right: 0; }
  .trust-grid div:nth-child(3) { border-left: 1px solid rgba(255,255,255,.14); border-top: 1px solid rgba(255,255,255,.14); }
  .trust-grid div:nth-child(4) { border-top: 1px solid rgba(255,255,255,.14); }
  .split-heading { grid-template-columns: 1fr; gap: 1.4rem; }
  .practice-card,   .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-card:nth-child(2) { border-right: 1px solid var(--border); }
  .process-card:nth-child(n+3) { border-top: 0; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 1.5rem), var(--container)); }
  .section { padding: 4.6rem 0; }
  .header-inner { min-height: 76px; }
  .main-nav { top: 76px; }
  .brand { width: 155px; }
  .brand img { height: 54px; }
  .hero-grid { padding: 4.5rem 0; gap: 2.5rem; }
  .hero h1 { font-size: clamp(2.9rem, 14vw, 4.2rem); }
  .hero-portrait { width: 100%; }
  .hero-portrait::before { right: -.45rem; top: -.45rem; }
  .hero-portrait img { aspect-ratio: 4 / 5; object-position: 50% 28%; }
  .portrait-card { left: .85rem; right: .85rem; bottom: .85rem; padding: 1.25rem 1.3rem; }
  .portrait-card h2 { font-size: 1.35rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid div, .trust-grid div:first-child, .trust-grid div:nth-child(3) { border-left: 0; border-right: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .trust-grid div:first-child { border-top: 0; }
  .practice-card, .practice-card:nth-child(n+4) { grid-column: 1 / -1; min-height: 245px; }
  .experience-quote { padding: 3rem 1.7rem; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card, .process-card:nth-child(2), .process-card:last-child { border-right: 1px solid var(--border); border-top: 0; }
  .process-card:first-child { border-top: 1px solid var(--border); }
  .process-card h3 { margin-top: 2.5rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 1.5rem; }
  .direct-contact a { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; }
  .footer-legal p:last-child { text-align: left; }
  .floating-whatsapp { right: .85rem; bottom: .85rem; }
}

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