/* Alves Nascimento Advogados Associados — paleta extraída do logotipo oficial */
:root {
  --green-950: #04170f;
  --green-900: #072219;
  --green-800: #0a2a1f;
  --green-700: #0f3a2b;
  --green-600: #165040;
  --gold-300: #ecc995;
  --gold-400: #d9a86b;
  --gold-500: #c08a4e;
  --gold-600: #9a6634;
  --gold-grad: linear-gradient(115deg, #9a6634 0%, #d9a86b 35%, #f1d3a1 50%, #c08a4e 70%, #8f5c2c 100%);
  --ivory: #f7f2ea;
  --ivory-2: #efe7da;
  --ink: #1b2420;
  --muted: #5d6b64;
  --line: rgba(192, 138, 78, .35);
  --serif: "Cormorant Garamond", Georgia, serif;
  --display: "Cinzel", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 2px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 69px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0 0 1.1em; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(1200px, 100% - 64px); } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold-400); color: var(--green-900); padding: 8px 16px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; }

/* --- Provisional fields: clearly marked until real data is filled --- */
.tbd {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78em;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #a4471f;
  background: #fff3e6;
  border: 1px dashed #d07a3e;
  padding: 2px 8px;
  border-radius: 3px;
  line-height: 1.5;
}
.tbd--block { display: block; margin-top: 18px; text-transform: none; font-weight: 500; letter-spacing: 0; font-size: .82rem; }

/* --- Typography helpers --- */
.eyebrow {
  font-family: var(--display);
  font-size: .78rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .7; }
.title {
  font-family: var(--serif);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem);
  line-height: 1.12;
  font-weight: 500;
  color: var(--green-800);
  margin-bottom: 24px;
  text-wrap: balance;
}
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head__lead { color: var(--muted); font-size: 1.06rem; margin: 0; }
.section-head--light .title { color: var(--ivory); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 17px 30px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-position .6s var(--ease), color .3s, border-color .3s;
}
.btn .ico { width: 18px; height: 18px; }
.btn--gold {
  color: var(--green-950);
  background: var(--gold-grad);
  background-size: 200% 100%;
  box-shadow: 0 10px 30px -12px rgba(192, 138, 78, .7);
}
.btn--gold:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(192, 138, 78, .85); }
.btn--outline { color: var(--gold-300); border-color: var(--line); background: transparent; }
.btn--outline:hover { border-color: var(--gold-400); color: var(--green-950); background: var(--gold-400); }
.btn--sm { padding: 11px 20px; font-size: .72rem; }

.link-arrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
}
.link-arrow::after { content: "→"; color: var(--gold-400); transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* --- Header --- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .4s var(--ease), height .4s var(--ease), box-shadow .4s;
}
/* Blur lives on a pseudo-element: backdrop-filter on .header itself would
   become the containing block of the fixed mobile menu and clip it. */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: rgba(7, 34, 25, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  transition: opacity .4s var(--ease);
}
.header.is-scrolled { --header-h: 70px; }
.header.is-scrolled::before, .page-legal .header::before, .page-inner .header::before { opacity: 1; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 54px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name {
  font-family: var(--display);
  font-size: 1.12rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand__sub { font-family: var(--display); font-size: .6rem; letter-spacing: .38em; text-transform: uppercase; color: var(--gold-300); opacity: .8; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory);
  position: relative;
  padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav-toggle { display: none; }

@media (max-width: 1023px) {
  .brand__name { font-size: .98rem; }
  .brand img { width: 44px; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px; height: 44px;
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
    padding: 0 11px;
    position: relative;
    z-index: 2;
  }
  .nav-toggle span { height: 1px; background: var(--gold-300); transition: transform .35s var(--ease), opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    background: var(--green-900);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a:not(.btn) { font-family: var(--serif); font-size: 1.7rem; letter-spacing: .02em; text-transform: none; }
  .nav__cta { margin-top: 10px; }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 70% 60% at 20% 10%, rgba(22, 80, 64, .55), transparent 70%),
    linear-gradient(160deg, var(--green-800), var(--green-950));
  color: var(--ivory);
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 80px;
}
.hero__media {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: min(54%, 760px);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--green-900) 0%, rgba(7, 34, 25, .55) 28%, rgba(7, 34, 25, 0) 55%),
    linear-gradient(0deg, var(--green-950) 0%, rgba(4, 23, 15, 0) 35%);
  z-index: 1;
}
.hero__inner { position: relative; z-index: 2; }
.hero__content { max-width: 620px; }
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 1.6rem + 3.8vw, 4.6rem);
  line-height: 1.04;
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero__title em {
  font-style: italic;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead { font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); color: rgba(247, 242, 234, .82); max-width: 500px; margin-bottom: 40px; font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.hero .eyebrow { color: var(--gold-400); }
.hero__rule { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); opacity: .6; }

@media (max-width: 860px) {
  .hero { align-items: flex-end; padding-bottom: 64px; }
  .hero__media { width: 100%; opacity: .55; }
  .hero__media::before { background: linear-gradient(0deg, var(--green-950) 15%, rgba(4, 23, 15, .55) 60%, rgba(4, 23, 15, .3) 100%); }
  .hero__media img { object-position: 60% 15%; }
}

/* --- About --- */
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__figure { position: relative; margin: 0; }
.about__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; position: relative; z-index: 1; }
.about__frame { position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold-500); z-index: 0; }
.about__text p { color: #3c4a44; font-size: 1.04rem; }
.pillars {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.pillars li { position: relative; padding-left: 22px; font-size: .95rem; font-weight: 500; color: var(--green-800); line-height: 1.45; }
.pillars li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border: 1px solid var(--gold-500); transform: rotate(45deg); }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__figure { max-width: 440px; margin-right: 22px; }
  .pillars { grid-template-columns: 1fr; }
}

/* --- Practice areas --- */
.areas { background: var(--ivory-2); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card {
  background: var(--ivory);
  padding: 42px 36px 36px;
  display: flex;
  flex-direction: column;
  transition: background .45s var(--ease);
  position: relative;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 2px; width: 100%;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.card:hover { background: #fff; }
.card:hover::before { transform: scaleX(1); }
.card__num { font-family: var(--display); color: var(--gold-500); font-size: .9rem; letter-spacing: .2em; margin-bottom: 22px; }
.card h3 { font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; color: var(--green-800); margin-bottom: 14px; }
.card p { color: var(--muted); font-size: .97rem; }
.card__more p { color: #3c4a44; }
.card__toggle {
  margin-top: auto;
  align-self: flex-start;
  background: none;
  border: 0;
  padding: 8px 0;
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-700);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.card__toggle::after { content: "+"; color: var(--gold-500); font-size: 1.1rem; line-height: 1; transition: transform .3s var(--ease); }
.card__toggle[aria-expanded="true"]::after { transform: rotate(45deg); }
@media (max-width: 1023px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } .card { padding: 34px 26px 28px; } }

/* --- Values --- */
.values {
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(22, 80, 64, .5), transparent 70%),
    var(--green-900);
  color: var(--ivory);
}
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.value { padding: 8px 32px 8px 0; border-left: 1px solid rgba(192, 138, 78, .25); padding-left: 32px; }
.value:first-child { border-left: 0; padding-left: 0; }
.value__ico { width: 44px; height: 44px; fill: none; stroke: var(--gold-400); stroke-width: 1.2; margin-bottom: 22px; }
.value h3 { font-family: var(--serif); font-size: 1.45rem; color: var(--gold-300); margin-bottom: 10px; }
.value p { color: rgba(247, 242, 234, .74); font-size: .95rem; margin: 0; }
@media (max-width: 1023px) {
  .values__grid { grid-template-columns: 1fr 1fr; gap: 44px 0; }
  .value:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .values__grid { grid-template-columns: 1fr; gap: 36px; }
  .value { border-left: 0; padding: 0 0 36px; border-bottom: 1px solid rgba(192, 138, 78, .25); }
  .value:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* --- Team ---
 * Every photo gets the same crop ratio and the same tonal treatment, so
 * pictures from different sources read as one series. */
.team .section-head { margin-inline: auto; text-align: center; }
.team .eyebrow { justify-content: center; }
.team .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .7; }
.person { margin: 0; text-align: center; }
.person__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--green-900);
  border: 1px solid var(--line);
}
.person__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 34, 25, 0) 55%, rgba(7, 34, 25, .45) 100%);
  pointer-events: none;
}
.person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  filter: grayscale(1) sepia(.18) contrast(1.06) brightness(.98);
  transform: scale(1.001);
  transition: filter .8s var(--ease), transform 1.2s var(--ease);
}
.person:hover .person__photo img { filter: grayscale(0) sepia(0) contrast(1.02); transform: scale(1.04); }
.person figcaption { padding-top: 20px; display: flex; flex-direction: column; gap: 4px; }
.person__name { font-family: var(--serif); font-size: 1.32rem; color: var(--green-800); line-height: 1.25; }
.person__name.tbd { font-size: .72rem; align-self: center; }
.person__role { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-600); }
.person__role i { font-style: normal; color: var(--gold-400); margin: 0 6px; }

.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: clamp(24px, 4vw, 56px); }
.person--partner .person__photo { border-color: var(--gold-500); }
.person--partner .person__photo::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(236, 201, 149, .45);
  z-index: 2;
  pointer-events: none;
}
.person--partner .person__name { font-size: 1.6rem; }

.team__divider { display: flex; align-items: center; gap: 24px; margin: clamp(56px, 8vw, 88px) 0 clamp(40px, 6vw, 60px); }
.team__divider::before, .team__divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.team__divider img { width: 44px; opacity: .9; }

/* Flex-wrap keeps an incomplete last row centred instead of left-aligned */
.members { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px 24px; }
.members .person { flex: 0 1 calc((100% - 4 * 24px) / 5); min-width: 170px; }
@media (max-width: 640px) {
  .partners { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .members { gap: 28px 16px; }
  .members .person { flex-basis: calc((100% - 16px) / 2); min-width: 0; }
  .person__name { font-size: 1.12rem; }
  .person--partner .person__name { font-size: 1.4rem; }
}

/* --- Contact --- */
.contact { background: var(--ivory-2); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: stretch; }
.contact__info > p { color: var(--muted); }
.contact__list { list-style: none; padding: 0; margin: 32px 0 36px; display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list .ico { width: 22px; height: 22px; color: var(--gold-500); flex: none; margin-top: 4px; }
.contact__label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact__list a, .contact__list span:not(.contact__label):not(.tbd) { font-family: var(--sans); font-size: 1.05rem; font-weight: 500; color: var(--green-800); text-decoration: none; line-height: 1.5; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--gold-600); }
.contact__list .tbd, .footer .tbd { font-family: var(--sans); font-size: .72rem; }
.contact__map { min-height: 420px; border: 1px solid var(--line); background: var(--green-900); position: relative; overflow: hidden; }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 24px; text-align: center; }
.map-placeholder img { width: 66px; opacity: .8; }
@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__map { min-height: 320px; }
}

/* --- Footer --- */
.footer { background: var(--green-950); color: rgba(247, 242, 234, .72); padding: 80px 0 32px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(192, 138, 78, .2); }
.footer__brand img { width: 240px; margin-bottom: 18px; }
.footer__brand p { font-family: var(--display); letter-spacing: .14em; font-size: .78rem; text-transform: uppercase; color: var(--gold-300); }
.footer h3 { font-family: var(--display); font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 20px; }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer a { text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--gold-300); }
.footer__contact p { margin-bottom: 10px; overflow-wrap: anywhere; }
.footer__legal { padding-top: 28px; font-size: .8rem; color: rgba(247, 242, 234, .5); }
.footer__legal p { margin-bottom: 8px; }
.footer__note { font-style: italic; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* --- Floating WhatsApp --- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1f9d55;
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .45), 0 0 0 1px rgba(236, 201, 149, .5);
  transition: transform .35s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.07); }
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid #1f9d55;
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.5); opacity: 0; } }
@media (max-width: 560px) { .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; } }

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

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

/* --- Legal page --- */
.page-legal { background: var(--ivory); }
.legal { padding: calc(var(--header-h) + 64px) 0 96px; }
.legal__body { max-width: 760px; }
.legal__body h2 { font-family: var(--serif); font-size: 1.6rem; color: var(--green-800); margin: 40px 0 12px; }
.legal__body p, .legal__body li { color: #3c4a44; }

/* --- Facts strip (About) --- */
.facts {
  margin: clamp(56px, 8vw, 88px) 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts div { padding: 26px 24px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts dt { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 6px 0 0; font-family: var(--serif); font-size: 1.55rem; color: var(--green-800); line-height: 1.2; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* --- Google reviews --- */
.reviews { background: var(--ivory); }
.reviews__summary {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 26px 30px; border: 1px solid var(--line); background: #fff; margin-bottom: 32px;
}
.reviews__g { width: 40px; height: 40px; flex: none; }
.reviews__score { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.reviews__rating { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--green-800); }
.stars { color: #e7a93a; letter-spacing: 2px; font-size: 1.1rem; }
.reviews__count { color: var(--muted); font-size: .92rem; }
.reviews__summary .btn { margin-left: auto; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reviews__grid:empty { display: none; }
.review { background: #fff; border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.review p { margin: 0; color: #3c4a44; font-size: .96rem; }
.review__name { font-weight: 600; color: var(--green-800); font-size: .9rem; }
@media (max-width: 900px) { .reviews__grid { grid-template-columns: 1fr; } .reviews__summary .btn { margin-left: 0; } }

/* --- Guides + latest posts --- */
.guides { background: var(--ivory-2); }
.guides__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 88px); align-items: start; margin-bottom: clamp(64px, 9vw, 104px); }
.guides__list { list-style: none; margin: 0; padding: 0; counter-reset: guide; border-top: 1px solid var(--line); }
.guides__list li { counter-increment: guide; border-bottom: 1px solid var(--line); }
.guides__list a {
  display: grid; grid-template-columns: 44px 1fr; column-gap: 12px;
  padding: 20px 4px; text-decoration: none; color: var(--green-800);
  font-family: var(--serif); font-size: 1.32rem; line-height: 1.3; transition: color .3s, padding .4s var(--ease);
}
.guides__list a::before { content: counter(guide, decimal-leading-zero); grid-row: 1 / 3; font-family: var(--display); font-size: .85rem; color: var(--gold-500); padding-top: 4px; }
.guides__list a span { font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600); }
.guides__list a:hover { color: var(--gold-600); padding-left: 12px; }
@media (max-width: 860px) { .guides__grid { grid-template-columns: 1fr; } }

.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 36px; }
.title--sm { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); margin: 0; }
.link-arrow--dark { color: var(--green-800); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: var(--ivory); border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(7, 34, 25, .55); }
.post-card a { display: flex; flex-direction: column; height: 100%; padding: 32px 30px; text-decoration: none; }
.post-card__cat { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 14px; }
.post-card h3 { font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; color: var(--green-800); margin-bottom: 12px; }
.post-card p { color: var(--muted); font-size: .94rem; }
.post-card__more { margin-top: auto; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--green-700); }
.post-card__more::after { content: " →"; color: var(--gold-500); }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }

/* --- Contact form + map --- */
.contact__grid { align-items: start; }
.contact__form { background: var(--green-900); color: var(--ivory); padding: clamp(28px, 4vw, 44px); display: grid; gap: 16px; }
.contact__form h3 { font-family: var(--serif); font-size: 1.7rem; color: var(--gold-300); margin-bottom: 4px; }
.contact__form label { display: grid; gap: 6px; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(247, 242, 234, .7); }
.contact__form input, .contact__form textarea {
  font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ivory);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(192, 138, 78, .35); border-radius: var(--radius);
  padding: 13px 14px; transition: border-color .3s, background .3s; width: 100%;
}
.contact__form input:focus, .contact__form textarea:focus { outline: none; border-color: var(--gold-400); background: rgba(255, 255, 255, .07); }
.contact__form textarea { resize: vertical; min-height: 110px; }
.contact__form .btn { justify-self: start; }
.form__error { margin: 0; color: #f0b48a; font-size: .88rem; }
.form__note { margin: 0; font-size: .8rem; color: rgba(247, 242, 234, .55); }
.form__note a { color: var(--gold-300); }
.contact .contact__map { margin-top: clamp(40px, 6vw, 64px); min-height: 380px; }

/* --- Blog --- */
.page-hero {
  background:
    radial-gradient(ellipse 60% 90% at 85% 0%, rgba(22, 80, 64, .55), transparent 70%),
    linear-gradient(160deg, var(--green-800), var(--green-950));
  color: var(--ivory);
  padding: calc(var(--header-h) + clamp(56px, 8vw, 96px)) 0 clamp(56px, 8vw, 88px);
  text-align: center;
  position: relative;
}
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-500), transparent); opacity: .6; }
.page-hero .eyebrow { justify-content: center; color: var(--gold-400); }
.page-hero .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .7; }
.page-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem); line-height: 1.1; max-width: 900px; margin: 0 auto; text-wrap: balance; }
.page-hero__meta { margin-top: 22px; font-size: .82rem; color: rgba(247, 242, 234, .65); letter-spacing: .04em; }
.share { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.share a, .share button {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); color: var(--gold-300); background: none; cursor: pointer; transition: background .3s, color .3s;
}
.share a:hover, .share button:hover { background: var(--gold-400); color: var(--green-950); }
.share svg { width: 17px; height: 17px; }
.share button.is-copied { background: var(--gold-400); color: var(--green-950); }

.article { padding: clamp(56px, 8vw, 96px) 0; }
.article__body { max-width: 760px; margin: 0 auto; font-size: 1.06rem; color: #2f3b36; }
.article__body > p:first-of-type::first-letter { font-family: var(--serif); float: left; font-size: 4.2rem; line-height: .85; padding: 6px 10px 0 0; color: var(--gold-500); }
.article__body h2 { font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1.2; color: var(--green-800); margin: 52px 0 16px; }
.article__body h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--green-700); margin: 32px 0 10px; }
.article__body ul, .article__body ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.article__body li { margin-bottom: .55em; }
.article__body li::marker { color: var(--gold-500); }
.article__body strong { color: var(--green-800); }
.article__body blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--gold-500); font-family: var(--serif); font-size: 1.35rem; font-style: italic; color: var(--green-700); }
.article__body a { color: var(--gold-600); }
.article__cta { margin: 56px 0 0; padding: 36px; background: var(--green-900); color: var(--ivory); text-align: center; }
.article__cta h2 { color: var(--gold-300); margin: 0 0 10px; }
.article__cta p { color: rgba(247, 242, 234, .78); margin-bottom: 24px; }
.article__disclaimer { margin-top: 32px; font-size: .84rem; color: var(--muted); font-style: italic; border-top: 1px solid var(--line); padding-top: 20px; }
.related { background: var(--ivory-2); padding: clamp(56px, 8vw, 88px) 0; }

.blog-list { padding: clamp(56px, 8vw, 96px) 0; }
.btn--dark { color: var(--green-800); border-color: var(--green-800); }
.btn--dark:hover { background: var(--green-800); color: var(--ivory); border-color: var(--green-800); }
