:root {
  --ink: #191c22;
  --graphite: #121319;
  --petrol: #1c2029;
  --lagoon: #3a3f4d;
  --clay: #9c7a3f;
  --amber: #c6a05c;
  --paper: #f5f5f3;
  --mist: #e6e6e3;
  --white: #ffffff;
  --muted: #6b6b70;
  --line: rgba(20, 20, 24, 0.13);
  --line-dark: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 70px rgba(10, 10, 13, 0.18);
  --radius: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1160px, calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(28, 32, 41, 0.72);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.solid {
  background: rgba(18, 19, 25, 0.96);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.24);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--white);
  text-decoration: none;
}

.brand-symbol,
.brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.brand-symbol {
  display: grid;
  place-items: center;
  color: var(--amber);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  border: 1px solid rgba(198, 160, 92, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.brand-mark {
  display: block;
  object-fit: contain;
  background: transparent;
}

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-name {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-subtitle {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.desktop-nav a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--white);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  color: var(--white);
  background: var(--clay);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.header-cta:hover,
.header-cta:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
  background: #7f6231;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 86svh;
  padding: 138px 0 74px;
  color: var(--white);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(15, 16, 21, 0.94) 0%, rgba(28, 32, 41, 0.88) 42%, rgba(18, 19, 25, 0.30) 100%),
    url("../images/escritorio-juridico.jpg") 67% center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--clay), var(--amber), var(--lagoon));
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 42px;
}

.hero-content {
  width: min(700px, 100%);
  min-width: 0;
}

.hero-content h1,
.section-heading h2,
.team-copy h2,
.office-copy h2,
.lgpd-grid h2,
.contact-copy h2,
.legal-hero h1,
.legal-content h2 {
  font-family: "Source Serif 4", Georgia, serif;
  line-height: 1.05;
  margin: 0;
}

.hero-content h1 {
  margin-top: 14px;
  font-size: clamp(48px, 7vw, 86px);
  max-width: 770px;
}

.hero-lead {
  width: min(630px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
}

.lead-break {
  display: none;
}

.eyebrow {
  margin: 0;
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.method-section .eyebrow,
.contact-section .eyebrow,
.lgpd-section .eyebrow,
.legal-hero .eyebrow {
  color: var(--amber);
}

.hero-actions,
.lgpd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 850;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button svg,
.header-cta svg,
.menu-toggle svg,
.contact-list svg,
.floating-whatsapp svg,
.practice-card svg,
.calculator-intro svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.button-primary {
  color: var(--white);
  background: var(--clay);
  border-color: var(--clay);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: transparent;
}

.button-dark {
  width: 100%;
  color: var(--white);
  background: var(--petrol);
  border-color: var(--petrol);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--graphite);
}

.button-small {
  min-height: 42px;
  padding: 0 14px;
  font-size: 14px;
}

.button-outline-dark {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.hero-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 720px;
}

.hero-index span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.direction-panel {
  color: var(--ink);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.direction-grid div {
  min-height: 126px;
  padding: 28px 30px;
  border-right: 1px solid var(--line);
}

.direction-grid div:last-child {
  border-right: 0;
}

.direction-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.direction-grid strong {
  display: block;
  max-width: 290px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 22px;
  line-height: 1.15;
}

.section {
  padding: 98px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 0 42px;
}

.section-heading.align-left {
  margin: 0;
}

.section-heading h2,
.team-copy h2,
.office-copy h2,
.lgpd-grid h2,
.contact-copy h2 {
  margin-top: 12px;
  font-size: clamp(34px, 4vw, 52px);
}

.section-heading p:not(.eyebrow),
.team-copy p,
.office-copy p,
.lgpd-grid p,
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
}

.practice-section {
  background: var(--paper);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.practice-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  grid-column: span 3;
  min-height: 196px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(15, 16, 21, 0.06);
}

.practice-card-wide {
  grid-column: span 6;
  min-height: 150px;
  background: linear-gradient(90deg, var(--white), #efefec);
}

.practice-card svg {
  width: 32px;
  height: 32px;
  color: var(--lagoon);
}

.practice-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
}

.practice-card h3,
.lawyer-card h3,
.method-item h3 {
  margin: 0 0 10px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 24px;
  line-height: 1.16;
}

.practice-card p,
.lawyer-card p,
.method-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.method-section {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(18, 19, 25, 0.96), rgba(28, 32, 41, 0.96)),
    var(--petrol);
}

.method-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.method-list {
  display: grid;
  gap: 12px;
}

.method-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 26px;
  padding: 24px 0;
  border-top: 1px solid var(--line-dark);
}

.method-item:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.method-item span {
  color: var(--amber);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 32px;
  line-height: 1;
}

.method-item h3 {
  color: var(--white);
}

.method-item p {
  color: rgba(255, 255, 255, 0.72);
}

.team-section {
  background: var(--white);
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.05fr);
  gap: 24px;
  align-items: stretch;
}

.team-copy {
  align-self: center;
  padding-right: 26px;
}

.team-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.team-badges span,
.office-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--petrol);
  background: rgba(28, 32, 41, 0.08);
  border: 1px solid rgba(28, 32, 41, 0.16);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 850;
}

.lawyer-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) 1fr;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lawyer-photo img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center top;
}

.lawyer-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px;
}

.partner-role {
  margin: 0 0 8px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.office-section {
  background: #eeeeec;
}

.office-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  gap: 62px;
  align-items: center;
}

.office-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.office-media img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: 56% center;
}

.office-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.calculators-section {
  background: var(--paper);
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.calculator-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(15, 16, 21, 0.08);
}

.calculator-intro {
  padding: 28px;
  color: var(--white);
  background: var(--petrol);
}

.calculator-card:nth-child(2) .calculator-intro {
  background: var(--graphite);
}

.calculator-intro svg {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--amber);
}

.calculator-intro span {
  display: block;
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.calculator-intro h3 {
  margin: 0 0 10px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 28px;
  line-height: 1.15;
}

.calculator-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.calculator-panel {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.calculator-panel .button {
  width: 100%;
  margin-top: 4px;
}

.lead-capture {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.result-box {
  min-height: 0;
  margin-top: 18px;
  color: var(--petrol);
  font-weight: 850;
}

.result-box:empty {
  display: none;
}

.lgpd-section {
  color: var(--white);
  background: var(--lagoon);
}

.lgpd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
}

.lgpd-grid p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 680px;
}

.lgpd-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.contact-section {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(18, 19, 25, 0.96), rgba(28, 32, 41, 0.90)),
    var(--graphite);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
  gap: 66px;
  align-items: start;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}

.contact-list a,
.contact-list span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

.contact-list svg {
  color: var(--amber);
}

.contact-form {
  padding: 34px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.form-row.two-columns {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-row label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(25, 28, 34, 0.20);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(156, 122, 63, 0.34);
  outline-offset: 2px;
}

.privacy-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.privacy-check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: 0 0 auto;
}

.privacy-check a {
  color: var(--petrol);
  font-weight: 850;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: #1f9d59;
  border-radius: 50%;
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.28);
}

.floating-whatsapp svg {
  width: 26px;
  height: 26px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #0e0f13;
  padding: 62px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 48px;
}

.footer-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 24px;
}

.footer-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--amber);
  font-weight: 850;
}

.footer-grid a,
.footer-grid button {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer-grid button {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.footer-grid .footer-social {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  margin-top: 14px;
  padding: 0 13px;
  color: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 850;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  color: var(--amber);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
}

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  width: min(560px, calc(100% - 40px));
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cookie-banner[hidden],
.cookie-modal[hidden] {
  display: none;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 4px;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
}

.modal-panel {
  position: relative;
  width: min(560px, 100%);
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.modal-panel h2 {
  margin: 0 0 8px;
  font-family: "Source Serif 4", Georgia, serif;
}

.modal-panel p {
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.toggle-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.toggle-row input {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.legal-page {
  background: var(--paper);
}

.legal-hero {
  padding: 144px 0 58px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(18, 19, 25, 0.95), rgba(28, 32, 41, 0.88)),
    var(--petrol);
}

.legal-hero h1 {
  margin-top: 12px;
  font-size: 46px;
}

.legal-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.legal-content {
  max-width: 840px;
  padding-top: 64px;
  padding-bottom: 88px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 25px;
}

.legal-content p {
  color: var(--muted);
}

.legal-content a {
  color: var(--petrol);
  font-weight: 850;
}

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 15px;
  }

  .team-layout,
  .office-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 940px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-height);
    display: grid;
    gap: 0;
    padding: 14px 22px 24px;
    background: rgba(18, 19, 25, 0.98);
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-120%);
    transition: transform 180ms ease;
  }

  .mobile-nav.is-open {
    transform: translateY(0);
  }

  .mobile-nav a {
    padding: 16px 0;
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid var(--line-dark);
  }

  .direction-grid,
  .method-grid,
  .calculator-grid,
  .lgpd-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .direction-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .method-grid,
  .contact-grid {
    gap: 42px;
  }

  .lgpd-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 740px) {
  .container {
    width: min(100% - 28px, 1140px);
  }

  .brand-symbol,
  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-copy {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 116px 0 54px;
    background-position: 70% center;
  }

  .hero-layout,
  .hero-content,
  .hero-lead {
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  .hero-content h1 {
    max-width: calc(100vw - 28px);
    font-size: 36px;
  }

  .hero-lead {
    font-size: 16px;
    overflow-wrap: break-word;
  }

  .lead-break {
    display: block;
  }

  .hero-actions,
  .lgpd-actions {
    display: grid;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

  .hero-index {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .practice-grid,
  .form-row.two-columns {
    grid-template-columns: 1fr;
  }

  .practice-card,
  .practice-card-wide {
    grid-column: auto;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .method-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lawyer-card {
    grid-template-columns: 1fr;
  }

  .lawyer-photo img {
    height: 390px;
    min-height: 0;
  }

  .office-media img {
    height: 360px;
  }

  .lawyer-copy,
  .contact-form,
  .modal-panel {
    padding: 24px;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .button {
    width: 100%;
  }

  .floating-whatsapp {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 520px) {
  .hero-content h1 {
    font-size: 34px;
  }

  .section-heading h2,
  .team-copy h2,
  .office-copy h2,
  .lgpd-grid h2,
  .contact-copy h2 {
    font-size: 30px;
  }

  .direction-grid div {
    padding: 24px 0;
  }

  .legal-hero h1 {
    font-size: 34px;
  }
}
