:root {
  --brown: #372925;
  --brown-deep: #2d211e;
  --gold: #b77b3c;
  --gold-soft: #c99a69;
  --ink: #2a2522;
  --muted: #665e59;
  --line: #e5ddd6;
  --paper: #f7f4f1;
  --white: #fff;
  --header-h: 74px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.shell { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

/* HEADER */
.site-header {
  position: relative;
  z-index: 20;
  min-height: var(--header-h);
  background: var(--brown-deep);
  color: #fff;
}
.header-inner {
  width: min(1160px, calc(100% - 48px));
  min-height: var(--header-h);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.wordmark {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  color: #fff;
  line-height: 1;
}
.wordmark-main {
  font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .02em;
  border-bottom: 1px solid rgba(255,255,255,.62);
  padding-bottom: 5px;
}
.wordmark-sub {
  margin-top: 5px;
  font-size: .43rem;
  font-weight: 600;
  letter-spacing: .34em;
  text-align: center;
}
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 38px); }
.main-nav a {
  position: relative;
  color: #fff;
  text-decoration: none;
  font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--gold);
  transition: right .18s ease;
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after { right: 0; }

/* HERO */
.hero { position: relative; background: #fff; }
.hero-media { height: clamp(430px, 48vw, 640px); overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 47%; }
.hero-card-wrap { position: relative; z-index: 2; margin-top: -154px; }
.hero-card {
  width: min(780px, 89%);
  padding: clamp(36px, 5vw, 60px);
  background: rgba(255,255,255,.988);
  box-shadow: 0 22px 54px rgba(32, 22, 18, .13);
  border-bottom: 3px solid var(--gold);
}
.eyebrow {
  margin-bottom: 17px;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.hero h1,
.section h2,
.profile-name,
.final-whatsapp strong {
  font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  color: var(--ink);
}
.hero h1 {
  margin: 0 0 25px;
  font-size: clamp(2.25rem, 4.2vw, 3.7rem);
  line-height: 1.01;
  letter-spacing: -.025em;
  font-weight: 800;
}
.hero h1 span { display: block; margin-top: .12em; font-size: .70em; font-weight: 700; }
.hero-copy { max-width: 650px; margin: 0 0 12px; color: #403a36; font-size: .98rem; line-height: 1.72; }
.hero-copy-secondary { color: var(--muted); font-size: .92rem; }
.hero-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(210px, .78fr);
  gap: 24px;
  margin-top: 31px;
  align-items: stretch;
}
.whatsapp-cta {
  display: flex;
  align-items: center;
  min-height: 84px;
  padding: 18px 24px;
  background: var(--brown);
  color: #fff;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.whatsapp-cta:hover,
.whatsapp-cta:focus-visible { transform: translateY(-2px); background: var(--brown-deep); box-shadow: 0 10px 25px rgba(35,23,19,.16); }
.whatsapp-cta img { width: 44px; height: 44px; margin-right: 17px; }
.whatsapp-cta span { font-family: "Bodoni Moda", serif; font-optical-sizing: auto; font-size: 1.42rem; font-weight: 700; line-height: 1.1; }
.phone-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 24px;
  border-left: 1px solid #d9cec5;
  text-decoration: none;
}
.phone-cta img { width: 30px; height: 30px; }
.phone-cta span { display: flex; flex-direction: column; }
.phone-cta strong { font-size: 1.08rem; line-height: 1.15; }
.phone-cta small { margin-top: 5px; color: var(--muted); font-size: .76rem; }

/* COMMON SECTIONS */
.section { padding: clamp(74px, 8vw, 108px) 0; }
.section-paper { background: linear-gradient(90deg, #f8f5f2 0%, #fff 19%, #fff 81%, #f8f5f2 100%); }
.section h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.72rem);
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.012em;
}
.accent { display: block; width: 38px; height: 2px; margin-top: 15px; background: var(--gold); }
.section-intro p { margin: 25px 0 0; color: var(--muted); font-size: .92rem; }

/* SERVICES */
.services-layout {
  display: grid;
  grid-template-columns: minmax(210px, .72fr) minmax(0, 2.25fr);
  gap: clamp(42px, 6vw, 82px);
  align-items: start;
}
.section-intro p { max-width: 270px; }
.topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.topic {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  min-height: 150px;
  padding: 25px 30px 25px 0;
  border-bottom: 1px solid var(--line);
}
.topic:nth-child(even) { padding-left: 30px; border-left: 1px solid var(--line); }
.topic-icon { width: 40px; height: 40px; }
.topic h3 { margin: 0 0 7px; font-family: "Bodoni Moda", serif; font-optical-sizing: auto; font-size: 1.22rem; line-height: 1.15; font-weight: 700; }
.topic p { margin: 0; color: var(--muted); font-size: .83rem; line-height: 1.56; }

/* PROFILE */
.profile-layout {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(0, 1.85fr);
  gap: clamp(46px, 7vw, 88px);
  align-items: center;
}
.profile-frame { position: relative; width: min(100%, 300px); margin: 0; padding: 11px; border: 1px solid var(--gold-soft); }
.profile-frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: 0; border: 1px solid #d8c3ae; }
.profile-frame img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 28%; }
.profile-intro { max-width: 720px; margin: 18px 0 28px; color: var(--muted); font-size: .92rem; }
.profile-name { margin: 0; font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.05; font-weight: 700; }
.oab { margin: 5px 0 0; color: var(--gold); font-size: .78rem; font-weight: 700; }
.credentials { display: grid; gap: 9px; margin: 20px 0 0; padding: 0; list-style: none; }
.credentials li { position: relative; padding-left: 24px; color: #554d48; font-size: .86rem; }
.credentials li::before { content: "✓"; position: absolute; left: 0; top: .02em; color: var(--gold); font-weight: 700; }

/* FAQ */
.faq-layout { max-width: 1020px; }
.faq-heading { max-width: none; }
.faq-list { margin-top: 32px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: grid;
  grid-template-columns: 48px 1fr 28px;
  gap: 12px;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
  font-size: .93rem;
  font-weight: 600;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-number { color: var(--gold); font-weight: 700; }
.faq-plus { color: var(--gold); font-size: 1.3rem; font-weight: 400; text-align: right; transition: transform .18s ease; }
.faq-list details[open] .faq-plus { transform: rotate(45deg); }
.faq-list details p { max-width: 820px; margin: -4px 0 22px 60px; color: var(--muted); font-size: .88rem; }

/* FINAL CTA */
.final-section { padding: 0 0 clamp(56px, 7vw, 88px); background: #fff; }
.final-panel {
  display: grid;
  grid-template-columns: minmax(300px, .92fr) minmax(0, 1.45fr);
  border: 1px solid var(--gold);
  background: radial-gradient(circle at 88% 40%, rgba(183,123,60,.10), transparent 35%), var(--brown-deep);
  color: #fff;
}
.final-address { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; padding: 34px 38px; border-right: 1px solid rgba(255,255,255,.24); }
.final-address > img { width: 44px; height: 44px; }
.final-eyebrow { margin-bottom: 13px; color: var(--gold-soft); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.final-address p { margin: 0 0 14px; color: #fff; font-size: .88rem; }
.final-address a { color: #fff; text-decoration: none; font-size: 1.18rem; font-weight: 700; }
.final-whatsapp { display: flex; align-items: center; gap: 25px; padding: 31px 42px; color: #fff; text-decoration: none; transition: background .18s ease; }
.final-whatsapp:hover,
.final-whatsapp:focus-visible { background: rgba(183,123,60,.08); }
.final-whatsapp > img { width: 78px; height: 78px; }
.final-whatsapp span { display: flex; flex-direction: column; }
.final-whatsapp strong { color: #fff; font-size: clamp(2rem, 3.2vw, 3.15rem); line-height: .95; font-weight: 700; }
.final-whatsapp small { margin-top: 9px; color: var(--gold-soft); font-size: .92rem; }

/* FOOTER */
.site-footer { background: var(--brown-deep); color: rgba(255,255,255,.72); }
.footer-inner { min-height: 44px; display: flex; align-items: center; justify-content: center; font-size: .68rem; }

/* ACCESSIBILITY */
a:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

@media (max-width: 940px) {
  .main-nav { display: none; }
  .header-inner { justify-content: center; }
  .hero-media { height: 460px; }
  .hero-card-wrap { margin-top: -110px; }
  .hero-card { width: 95%; }
  .hero-contact { grid-template-columns: 1fr; }
  .phone-cta { min-height: 64px; border-left: 0; border-top: 1px solid #d9cec5; padding: 16px 0 0; }
  .services-layout { grid-template-columns: 1fr; }
  .section-intro p { max-width: 720px; }
  .profile-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 38px; }
  .final-panel { grid-template-columns: 1fr; }
  .final-address { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.24); }
}

@media (max-width: 680px) {
  :root { --header-h: 64px; }
  .shell, .header-inner { width: min(100% - 28px, 560px); }
  .wordmark-main { font-size: 1.02rem; }
  .hero-media { height: 330px; }
  .hero-card-wrap { margin-top: -58px; }
  .hero-card { width: 100%; padding: 30px 25px; }
  .hero h1 { font-size: 2.25rem; }
  .whatsapp-cta { min-height: 76px; }
  .whatsapp-cta span { font-size: 1.18rem; }
  .section { padding: 66px 0; }
  .section h2 { font-size: 2rem; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic, .topic:nth-child(even) { min-height: 0; padding: 22px 0; border-left: 0; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-frame { width: 165px; }
  .profile-frame::before { inset: 12px -12px -12px 12px; }
  .faq-list summary { grid-template-columns: 34px 1fr 24px; font-size: .88rem; }
  .faq-list details p { margin-left: 46px; }
  .final-address { padding: 28px 25px; }
  .final-whatsapp { gap: 18px; padding: 28px 25px; }
  .final-whatsapp > img { width: 58px; height: 58px; }
  .final-whatsapp strong { font-size: 2rem; }
}
