:root {
  --charcoal: #1c2024;
  --charcoal-soft: #2a2f35;
  --ink: #14181b;
  --green: #2f6b50;
  --green-bright: #3d8a68;
  --green-soft: #e8f0ec;
  --paper: #f7f8f7;
  --line: #dfe3e0;
  --muted: #6b7470;
  --white: #ffffff;
  --max: 1140px;
  --radius: 14px;
  --shadow: 0 18px 50px -22px rgba(20, 24, 27, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand {
  font-family: "Inter", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--charcoal);
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 247, 0.9);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  font-size: 19px;
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.brand .mark {
  color: var(--green);
  font-weight: 800;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--charcoal-soft);
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--green); }
.nav-links a.active { color: var(--green); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 10px 18px !important;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--green-bright); }
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--charcoal);
  margin: 5px 0;
  transition: 0.25s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-bright); }
.btn-ghost { background: transparent; color: var(--charcoal); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 78% -10%, rgba(61, 138, 104, 0.16), transparent 60%),
    var(--charcoal);
  color: var(--white);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 84px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  color: var(--green-bright);
}
.hero p.lead {
  margin-top: 22px;
  font-size: 18px;
  color: #c7cdc9;
  max-width: 30em;
}
.hero .actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.28); }
.hero .actions .btn-ghost:hover { border-color: var(--green-bright); color: var(--green-bright); }
.oab-tag {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #aeb6b1;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  padding: 7px 15px;
}
.oab-tag b { color: #fff; font-weight: 600; }

.hero-photo {
  justify-self: center;
  position: relative;
}
.hero-photo .ring {
  width: 290px; height: 290px;
  border-radius: 50%;
  padding: 8px;
  background: linear-gradient(150deg, var(--green-bright), transparent 55%);
  box-shadow: var(--shadow);
}
.hero-photo img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid var(--charcoal);
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: var(--white); border-block: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 17px; }

.page-hero {
  background: var(--charcoal);
  color: var(--white);
  padding: 66px 0 58px;
}
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; }
.page-hero p { color: #c7cdc9; margin-top: 14px; max-width: 44em; font-size: 17px; }
.crumb { font-size: 13px; color: var(--green-bright); margin-bottom: 16px; font-weight: 600; letter-spacing: 0.04em; }

/* ---------- Practice area cards ---------- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.area-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-soft); }
.area-card .icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  margin-bottom: 18px;
}
.area-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.area-card ul { list-style: none; }
.area-card li {
  font-size: 14.5px;
  color: var(--charcoal-soft);
  padding: 6px 0 6px 22px;
  position: relative;
}
.area-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--green-bright);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.about-photo img {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-text h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; margin-bottom: 8px; }
.about-text .role { color: var(--green); font-weight: 600; margin-bottom: 20px; }
.about-text p { color: var(--charcoal-soft); margin-bottom: 16px; font-size: 16.5px; }
.cred-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.cred {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  background: var(--paper);
}
.cred b { display: block; font-size: 15px; color: var(--charcoal); }
.cred span { font-size: 12.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 14px;
  background: var(--white);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--charcoal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .plus { color: var(--green); font-size: 22px; transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--charcoal-soft); font-size: 15.5px; }
.faq-item.open .faq-a { max-height: 400px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
}
.contact-card .icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.contact-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.contact-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.contact-card a.value { font-size: 18px; font-weight: 700; color: var(--green); }
.contact-note {
  margin-top: 26px;
  background: var(--green-soft);
  border-radius: var(--radius);
  padding: 22px 26px;
  color: #20402f;
  font-size: 15px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--charcoal);
  color: var(--white);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
}
.cta-band h2 { color: var(--white); font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.cta-band p { color: #c7cdc9; margin: 12px auto 26px; max-width: 38em; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #aeb6b1;
  padding: 50px 0 30px;
  font-size: 14px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-top .brand { color: #fff; }
.footer-top .brand small { color: #8b938e; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: #7e867f;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 60;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.18s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    gap: 4px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 0; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; padding-top: 56px; padding-bottom: 56px; }
  .hero p.lead { margin-inline: auto; }
  .hero .actions { justify-content: center; }
  .hero-photo { order: -1; }
  .hero-photo .ring { width: 210px; height: 210px; }
  .oab-tag { margin-inline: auto; }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-photo img { margin: 0 auto; }
  .cred-row { justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}

:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 2px; border-radius: 4px; }

/* ---------- Language switch ---------- */
.lang-switch {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--charcoal-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
}
.lang-switch:hover { border-color: var(--green); color: var(--green); }
@media (max-width: 860px) {
  .lang-switch { width: fit-content; }
}
