/**
 * Design tokens — fonte única de verdade para RS Lawyers.
 */

:root {
  /* Cores */
  --color-primary: #0a2540;
  --color-primary-dark: #061829;
  --color-primary-soft: #123456;
  --color-surface: #ffffff;
  --color-surface-muted: #f4f2ed;
  --color-surface-warm: #ebe6dc;
  --color-text: #1a1a1a;
  --color-text-muted: #4a5568;
  --color-text-on-primary: #f8f6f2;
  --color-text-on-primary-muted: color-mix(in srgb, var(--color-text-on-primary) 72%, transparent);
  /* Dourado escuro para AA 4.5:1+ em fundos claros */
  --color-accent: #967642;
  --color-accent-on-light: #7a5f2e;
  --color-accent-hover: #806b1a;
  --color-accent-display: #b8922a;
  --color-accent-soft: color-mix(in srgb, var(--color-accent) 14%, var(--color-surface));
  --color-border: color-mix(in srgb, var(--color-primary) 12%, transparent);
  --color-border-strong: color-mix(in srgb, var(--color-primary) 22%, transparent);
  --color-focus: #c9a227;
  --color-error: #9b2c2c;
  --color-success: #276749;

  /* Tipografia — system stack (sem CDN) */
  --font-heading: Georgia, 'Times New Roman', Times, serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --text-xs: clamp(0.75rem, 0.72rem + 0.1vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.15vw, 0.9375rem);
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --text-xl: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  --text-2xl: clamp(1.75rem, 1.45rem + 1.1vw, 2.375rem);
  --text-3xl: clamp(2.125rem, 1.65rem + 1.8vw, 3.125rem);
  --text-4xl: clamp(2.625rem, 2rem + 2.5vw, 4rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --container-max: 72rem;
  --container-narrow: 42rem;
  --header-height: 4.75rem;
  --radius-sm: 2px;
  --radius-md: 4px;
  --transition: 180ms ease;

  --shadow-subtle: 0 1px 0 color-mix(in srgb, var(--color-primary) 8%, transparent);
  --shadow-card: 4px 8px 0 color-mix(in srgb, var(--color-primary) 6%, transparent);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --transition: 0ms;
  }
}
/**
 * RS Lawyers — refined legal palette
 */
:root {
  --rl-navy: #0b1120;
  --rl-navy-soft: #151d2e;
  --rl-navy-muted: #1a2332;
  --rl-slate: #3d4a5c;
  --rl-slate-light: #64748b;
  --rl-gold: #967642;
  --rl-gold-dark: #7a5f2e;
  --rl-gold-display: #b8985f;
  --rl-gold-soft: rgb(184 152 95 / 0.12);
  --rl-cream: #fafaf8;
  --rl-white: #ffffff;
  --rl-border: #e5e7eb;
  --rl-border-strong: #d1d5db;

  --rl-font-serif: Georgia, 'Times New Roman', Times, serif;
  --rl-font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --rl-radius: 3px;
  --rl-radius-md: 6px;
  --rl-shadow-sm: 0 1px 2px rgb(11 17 32 / 0.04);
  --rl-shadow-md: 0 8px 30px rgb(11 17 32 / 0.06);

  --rc-black: var(--rl-navy);
  --rc-white: var(--rl-white);
  --rc-silver-light: #f4f5f7;
  --rc-silver: var(--rl-gold);
  --rc-silver-dark: var(--rl-gold-dark);
  --rc-gray-light: var(--rl-border);
  --rc-gray: var(--rl-slate-light);
  --rc-gray-dark: var(--rl-slate);
  --rc-beige-light: var(--rl-cream);
  --rc-beige: #f0f1f4;
  --rc-gold: var(--rl-gold);
  --rc-gold-dark: var(--rl-gold-dark);
  --color-primary: var(--rl-navy);
  --color-primary-dark: var(--rl-navy-soft);
  --color-secondary: var(--rl-gold);
  --color-background: var(--rl-cream);
  --color-text: var(--rl-navy);
  --color-text-secondary: var(--rl-slate-light);
  --rgba-silver-06: rgb(184 152 95 / 0.08);
  --rgba-silver-14: rgb(184 152 95 / 0.16);
  --rgba-silver-20: rgb(184 152 95 / 0.22);
  --rgba-black-10: rgb(11 17 32 / 0.08);
}
/**
 * Reset e elementos HTML base.
 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-surface);
  text-rendering: optimizeLegibility;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-primary);
  margin: 0 0 var(--space-4);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p {
  margin: 0 0 var(--space-4);
}

a {
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
}

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100%;
  z-index: 10000;
  padding: var(--space-3) var(--space-4);
  background: var(--color-primary);
  color: var(--color-text-on-primary);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: var(--space-4);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

address {
  font-style: normal;
}

blockquote {
  margin: 0;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

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

button {
  cursor: pointer;
}

::selection {
  background: var(--color-accent-soft);
  color: var(--color-primary);
}
/**
 * Layout — header, footer, grid, seções.
 */

.container {
  width: min(100% - var(--space-8), var(--container-max));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - var(--space-8), var(--container-narrow));
}

.section {
  padding-block: var(--space-20);
}

.section--muted {
  background: var(--color-surface-muted);
}

.section--primary {
  background: var(--color-primary);
  color: var(--color-text-on-primary);
}

.section--primary h2,
.section--primary h3 {
  color: var(--color-text-on-primary);
}

.section__eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-on-light);
  margin-bottom: var(--space-4);
}

.section__header {
  max-width: 38rem;
  margin-bottom: var(--space-12);
}

.section__header--split {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 48rem) {
  .section__header--split {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: color-mix(in srgb, var(--color-surface) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: 100%;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-brand:hover {
  color: var(--color-primary);
}

.site-brand__logo {
  height: 2.5rem;
  width: auto;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.site-nav__list {
  display: none;
  list-style: none;
  gap: var(--space-1);
}

@media (min-width: 64rem) {
  .site-nav__list {
    display: flex;
  }
}

.site-nav__link {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.site-nav__link:hover,
.site-nav__item--active .site-nav__link {
  color: var(--color-primary);
  border-bottom-color: var(--color-accent);
}

.site-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--color-primary);
}

@media (min-width: 64rem) {
  .site-nav-toggle {
    display: none;
  }
}

.site-nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-surface);
  padding: var(--space-6);
  overflow-y: auto;
  border-top: 1px solid var(--color-border);
  z-index: 1001;
  box-shadow: 0 12px 40px rgb(10 37 64 / 0.12);
}

.admin-bar .site-nav-mobile {
  top: calc(var(--header-height) + var(--wp-admin--admin-bar--height, 32px));
}

@media (max-width: 782px) {
  .admin-bar .site-nav-mobile {
    top: calc(var(--header-height) + 46px);
  }
}

.site-nav-mobile.is-open {
  display: block;
}

body.site-nav-open {
  overflow: hidden;
}

.site-nav-mobile__list {
  list-style: none;
  display: grid;
  gap: var(--space-2);
}

.site-nav-mobile__link {
  display: block;
  padding: var(--space-3) 0;
  font-size: var(--text-lg);
  font-family: var(--font-heading);
  text-decoration: none;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-border);
}

/* Hero */
.hero {
  position: relative;
  background: var(--color-primary);
  color: var(--color-text-on-primary);
  padding-block: var(--space-24) var(--space-20);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 55%, color-mix(in srgb, var(--color-accent) 8%, transparent) 100%),
    repeating-linear-gradient(
      90deg,
      color-mix(in srgb, var(--color-text-on-primary) 3%, transparent) 0,
      color-mix(in srgb, var(--color-text-on-primary) 3%, transparent) 1px,
      transparent 1px,
      transparent 80px
    );
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: var(--space-10);
  align-items: end;
}

@media (min-width: 56rem) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-16);
  }
}

.hero__title {
  color: var(--color-text-on-primary);
  font-size: var(--text-4xl);
  max-width: 14ch;
  margin-bottom: var(--space-6);
}

.hero__lead {
  font-size: var(--text-lg);
  color: var(--color-text-on-primary-muted);
  max-width: 36rem;
  margin-bottom: var(--space-8);
}

.hero__meta {
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-on-primary-muted);
}

.hero__aside {
  display: grid;
  gap: var(--space-4);
}

.hero__stat {
  padding: var(--space-5);
  border: 1px solid color-mix(in srgb, var(--color-text-on-primary) 14%, transparent);
  background: color-mix(in srgb, var(--color-primary-dark) 40%, transparent);
}

.hero__stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-accent);
  margin-bottom: var(--space-1);
}

.hero__stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-on-primary-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

/* Practice areas — layout assimétrico */
.practice-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 48rem) {
  .practice-grid {
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: auto auto;
  }

  .practice-card:first-child {
    grid-row: span 2;
  }
}

/* About */
.about-grid {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 56rem) {
  .about-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: var(--space-16);
  }
}

.about-grid__media {
  position: relative;
}

.about-grid__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--color-border-strong);
}

.about-grid__media::after {
  content: "";
  position: absolute;
  inset: var(--space-4) calc(var(--space-4) * -1) calc(var(--space-4) * -1) var(--space-4);
  border: 1px solid var(--color-accent);
  z-index: -1;
}

.credentials {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.credentials__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.credentials__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  min-width: 5rem;
}

/* Team */
.team-grid {
  display: grid;
  gap: var(--space-8);
}

@media (min-width: 40rem) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Testimonials */
.testimonials {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 48rem) {
  .testimonials {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Contact layout */
.contact-grid {
  display: grid;
  gap: var(--space-10);
}

@media (min-width: 56rem) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.contact-info {
  display: grid;
  gap: var(--space-6);
}

.contact-map {
  width: 100%;
  min-height: 16rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface-muted);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  border: 0;
}

/* Footer */
.site-footer {
  background: var(--color-primary-dark);
  color: var(--color-text-on-primary-muted);
  padding-block: var(--space-16) var(--space-8);
}

.site-footer a {
  color: var(--color-text-on-primary);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-accent);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

@media (min-width: 48rem) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-display);
  margin-bottom: var(--space-4);
}

.site-footer__brand {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-text-on-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  border-top: 1px solid color-mix(in srgb, var(--color-text-on-primary) 12%, transparent);
  font-size: var(--text-sm);
}

.site-footer__credit a {
  color: var(--color-accent);
}

.social-links {
  display: flex;
  gap: var(--space-3);
  list-style: none;
}

/* Page templates */
.page-hero {
  padding-block: var(--space-16);
  background: var(--color-surface-muted);
  border-bottom: 1px solid var(--color-border);
}

.page-hero__title {
  margin-bottom: var(--space-4);
}

.page-content {
  padding-block: var(--space-16);
}

.faq-list {
  display: grid;
  gap: var(--space-4);
  max-width: 48rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  padding: var(--space-5);
  background: var(--color-surface);
}

.faq-item__question {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.faq-item__answer {
  color: var(--color-text-muted);
  margin: 0;
}

.testimonials-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 48rem) {
  .testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.testimonial-card {
  margin: 0;
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
}

.testimonial-card__quote {
  margin: 0 0 var(--space-4);
  font-style: italic;
  line-height: 1.65;
}

.testimonial-card__author {
  font-style: normal;
  font-weight: 600;
}

.testimonial-card__role {
  margin: var(--space-1) 0 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.team-card__image--placeholder {
  background: var(--color-surface-muted);
  min-height: 14rem;
}
/**
 * Componentes — botões, cards, formulários, seletor de idioma.
 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 1.35rem;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-primary-dark);
}

.btn--ghost {
  background: transparent;
  color: inherit;
  border-color: color-mix(in srgb, currentColor 35%, transparent);
}

.btn--ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn--dark {
  background: var(--color-primary);
  color: var(--color-text-on-primary);
  border-color: var(--color-primary);
}

.btn--dark:hover {
  background: var(--color-primary-soft);
  color: var(--color-text-on-primary);
}

.practice-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 14rem;
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), transform var(--transition);
}

.practice-card:first-child {
  min-height: 20rem;
  background: var(--color-primary);
  color: var(--color-text-on-primary);
  border-color: var(--color-primary);
}

.practice-card:first-child h3 {
  color: var(--color-text-on-primary);
}

.practice-card:first-child p {
  color: var(--color-text-on-primary-muted);
}

.practice-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.practice-card__number {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.practice-card h3 {
  margin-bottom: var(--space-3);
}

.practice-card p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}

.practice-card__link {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.team-card {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.team-card__image {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.team-card__body {
  padding: var(--space-6);
}

.team-card__role {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.team-card__oab {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.testimonial {
  padding: var(--space-8);
  border-left: 3px solid var(--color-accent);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.testimonial__quote {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}

.testimonial__author {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.testimonial__context {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.form-stack {
  display: grid;
  gap: var(--space-5);
}

.form-field label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-primary);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  transition: border-color var(--transition);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 2px var(--color-accent-soft);
}

.form-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-field--error input,
.form-field--error textarea {
  border-color: var(--color-error);
}

.form-notice {
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  margin-bottom: var(--space-5);
}

.form-notice--success {
  background: color-mix(in srgb, var(--color-success) 12%, var(--color-surface));
  border: 1px solid color-mix(in srgb, var(--color-success) 35%, transparent);
  color: var(--color-success);
}

.form-notice--error {
  background: color-mix(in srgb, var(--color-error) 10%, var(--color-surface));
  border: 1px solid color-mix(in srgb, var(--color-error) 30%, transparent);
  color: var(--color-error);
}

.form-consent {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.form-consent a {
  color: var(--color-primary);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.rs-lang-selector {
  position: relative;
}

.rs-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.rs-lang-icon,
.rs-lang-chevron {
  width: 1rem;
  height: 1rem;
}

.rs-lang-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + var(--space-2));
  min-width: 9rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  z-index: 100;
}

.rs-lang-dropdown[hidden] {
  display: none;
}

.rs-lang-option {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  text-decoration: none;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.rs-lang-option:hover,
.rs-lang-option--active {
  background: var(--color-surface-muted);
  color: var(--color-primary);
}

.rs-lang-option-code {
  font-weight: 700;
  color: var(--color-accent);
  min-width: 1.5rem;
}

.rs-lang-selector--mobile {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.rs-lang-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.rs-lang-segments {
  display: flex;
  gap: var(--space-2);
}

.rs-lang-segment {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  text-decoration: none;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.rs-lang-segment--active {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
}

.rs-lang-segment-code {
  font-weight: 700;
  color: var(--color-accent);
}

.rs-lang-segment-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.whatsapp-link:hover {
  color: var(--color-accent-hover);
}

.whatsapp-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid color-mix(in srgb, var(--color-text-on-primary) 20%, transparent);
  color: var(--color-text-on-primary);
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition);
}

.social-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.social-link svg {
  width: 1.125rem;
  height: 1.125rem;
}
/**
 * RS Lawyers — components & plugin styling
 */

/* Section headings */
.rl-section-head {
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
}

.rl-section-head--left {
  margin-inline: 0;
  text-align: left;
}

.rl-section-head__eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-family: var(--rl-font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rl-gold-dark);
}

.rl-section-head__eyebrow::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 1px;
  margin: 0.625rem auto 0;
  background: var(--rl-gold);
}

.rl-section-head--left .rl-section-head__eyebrow::after {
  margin-left: 0;
}

.rl-section-head__title {
  margin: 0 0 0.875rem;
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  font-weight: 600;
  color: var(--rl-navy);
}

.rl-section-head__desc {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--rl-slate-light);
}

/* Hero */
.rl-hero {
  background: var(--rl-navy);
  color: var(--rl-white);
  position: relative;
  overflow: hidden;
}

.rl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgb(0 0 0 / 0.4) 0%, transparent 70%);
  pointer-events: none;
}

.rl-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgb(184 152 95 / 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 0% 100%, rgb(255 255 255 / 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.rl-hero > .container {
  position: relative;
  z-index: 1;
}

.rl-hero__eyebrow {
  display: inline-block;
  color: var(--rl-gold);
  font-family: var(--rl-font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rl-hero__eyebrow::after {
  content: '';
  display: block;
  width: 3rem;
  height: 1px;
  margin: 0.75rem auto 0;
  background: var(--rl-gold);
}

.rl-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}

.rl-hero__subtitle {
  margin: 0 auto 2rem;
  max-width: 36rem;
  color: rgb(255 255 255 / 0.78);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.rl-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.rl-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--rl-gold);
  color: var(--rl-navy);
  border: 1px solid var(--rl-gold);
  border-radius: var(--rl-radius);
  padding: 0.8125rem 1.625rem;
  font-family: var(--rl-font-sans);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rl-btn-primary:hover {
  background: var(--rl-gold-dark);
  border-color: var(--rl-gold-dark);
  color: var(--rl-white);
}

.rl-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: var(--rl-radius);
  padding: 0.8125rem 1.625rem;
  font-family: var(--rl-font-sans);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rl-hero .rl-btn-secondary {
  border-color: rgb(255 255 255 / 0.35);
  color: var(--rl-white);
}

.rl-hero .rl-btn-secondary:hover {
  background: rgb(255 255 255 / 0.06);
  border-color: var(--rl-gold);
  color: var(--rl-gold);
}

.rl-btn-secondary:hover {
  border-color: var(--rl-gold-dark);
  color: var(--rl-gold-dark);
}

/* Cards */
.rl-card {
  background: var(--rl-white);
  border: 1px solid var(--rl-border);
  border-radius: var(--rl-radius-md);
  box-shadow: var(--rl-shadow-sm);
  padding: 2rem;
}

/* Trust section */
.rl-trust {
  background: var(--rl-white);
  border-block: 1px solid var(--rl-border);
}

.rl-trust-grid {
  display: grid;
  gap: 1.25rem;
}

.rl-trust-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 1.75rem;
  background: var(--rl-cream);
  border: 1px solid var(--rl-border);
  border-left: 3px solid var(--rl-gold);
  border-radius: var(--rl-radius-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rl-trust-item:hover {
  border-color: var(--rl-border-strong);
  border-left-color: var(--rl-gold-dark);
  box-shadow: var(--rl-shadow-sm);
}

.rl-trust-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--rl-border-strong);
  border-radius: var(--rl-radius);
  background: var(--rl-white);
  color: var(--rl-gold-dark);
  margin-bottom: 1.125rem;
}

.rl-trust-item__icon .rl-icon {
  width: 1.375rem;
  height: 1.375rem;
  flex-shrink: 0;
}

.rl-trust-item__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--rl-navy);
}

.rl-trust-item__text {
  margin: 0;
  color: var(--rl-slate);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* NIF CTA */
.rl-nif-cta {
  background: var(--rl-navy-muted);
  color: var(--rl-white);
  border-block: 1px solid rgb(255 255 255 / 0.06);
}

.rl-nif-cta__panel {
  padding: 2.5rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-left: 3px solid var(--rl-gold);
  border-radius: var(--rl-radius-md);
  background: rgb(255 255 255 / 0.03);
}

.rl-nif-cta__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.rl-nif-cta__title {
  margin: 0 0 0.875rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--rl-white);
}

.rl-nif-cta p {
  margin: 0;
  color: rgb(255 255 255 / 0.75);
  line-height: 1.65;
  font-size: 0.9375rem;
}

.rl-nif-cta__actions {
  text-align: center;
}

/* Contact CTA */
.rl-contact-cta {
  background: var(--rl-cream);
  border-top: 1px solid var(--rl-border);
}

.rl-contact-cta__panel {
  max-width: 36rem;
  margin-inline: auto;
  padding: 2.5rem 2rem;
  text-align: center;
  background: var(--rl-white);
  border: 1px solid var(--rl-border);
  border-radius: var(--rl-radius-md);
  box-shadow: var(--rl-shadow-sm);
}

.rl-contact-cta__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.rl-contact-cta__desc {
  margin: 0 0 1.5rem;
  color: var(--rl-slate);
  line-height: 1.65;
}

.rl-page__article .rl-content a {
  color: var(--rl-gold-dark);
  text-underline-offset: 2px;
}

.rl-hero--institutional .rl-hero__eyebrow::after {
  margin-left: 0;
}

.rl-hero--institutional .rl-hero__subtitle {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}

@media (min-width: 768px) {
  .rl-trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .rl-nif-cta__inner {
    grid-template-columns: 1fr auto;
  }

  .rl-nif-cta__actions {
    text-align: right;
  }

  .rl-card {
    padding: 2.5rem;
  }
}
/**
 * RS Lawyers — institutional sections (Mendes & Costa)
 */

/* Hero institutional */
.rl-hero--institutional .rl-hero__split {
  display: grid;
  gap: 2.5rem;
  align-items: end;
}

.rl-hero__actions--left {
  align-items: flex-start;
}

.rl-hero__aside {
  border: 1px solid rgb(255 255 255 / 0.12);
  border-left: 3px solid var(--rl-gold);
  padding: 1.5rem 1.75rem;
  background: rgb(255 255 255 / 0.04);
}

.rl-hero__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.rl-hero__facts li {
  display: grid;
  gap: 0.25rem;
}

.rl-hero__fact-label {
  font-family: var(--rl-font-sans);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rl-gold);
}

.rl-hero__facts span:last-child {
  color: rgb(255 255 255 / 0.82);
  font-size: 0.9375rem;
}

/* Asymmetric practice areas */
.rl-areas {
  padding: 5rem 0;
  background: var(--rl-white);
  border-bottom: 1px solid var(--rl-border);
}

.rl-areas__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.rl-area-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--rl-cream);
  border: 1px solid var(--rl-border);
  border-radius: var(--rl-radius-md);
  transition: border-color 0.2s ease;
}

.rl-area-card:hover {
  border-color: var(--rl-border-strong);
}

.rl-area-card--featured {
  background: var(--rl-navy);
  color: var(--rl-white);
  border-color: var(--rl-navy);
}

.rl-area-card--wide {
  border-top: 3px solid var(--rl-gold);
}

.rl-area-card__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rl-gold-dark);
}

.rl-area-card--featured .rl-area-card__eyebrow {
  color: var(--rl-gold);
}

.rl-area-card__title {
  margin: 0 0 0.75rem;
  font-family: var(--rl-font-serif);
  font-size: 1.625rem;
  font-weight: 600;
}

.rl-area-card__desc {
  margin: 0 0 1.25rem;
  line-height: 1.65;
  color: var(--rl-slate);
}

.rl-area-card--featured .rl-area-card__desc {
  color: rgb(255 255 255 / 0.78);
}

.rl-area-card__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1;
}

.rl-area-card__list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.rl-area-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.375rem;
  height: 1px;
  background: var(--rl-gold);
}

.rl-area-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--rl-navy);
}

.rl-area-card--featured .rl-area-card__link {
  color: var(--rl-gold);
}

.rl-areas__footer {
  margin: 2rem 0 0;
  text-align: left;
}

.rl-text-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rl-gold-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--rl-gold-soft);
}

.rl-text-link:hover {
  color: var(--rl-navy);
  border-bottom-color: var(--rl-navy);
}

/* About preview */
.rl-about-preview {
  padding: 5rem 0;
  background: var(--rl-cream);
  border-bottom: 1px solid var(--rl-border);
}

.rl-about-preview__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.rl-about-preview__media {
  margin: 0;
}

.rl-about-preview__image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rl-border);
  border-radius: var(--rl-radius-md);
}

.rl-about-preview__lead {
  margin: 0 0 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--rl-slate);
}

.rl-about-preview__credentials {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.625rem;
}

.rl-about-preview__credentials li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.9375rem;
  color: var(--rl-slate);
}

.rl-about-preview__credentials li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.375rem;
  height: 1px;
  background: var(--rl-gold-dark);
}

/* Team */
.rl-team {
  padding: 5rem 0;
  background: var(--rl-white);
  border-bottom: 1px solid var(--rl-border);
}

.rl-team--compact {
  background: var(--rl-navy);
  color: var(--rl-white);
}

.rl-team--compact .rl-section-head__title,
.rl-team--compact .rl-section-head__eyebrow {
  color: var(--rl-white);
}

.rl-team--compact .rl-section-head__eyebrow {
  color: var(--rl-gold);
}

.rl-team__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.rl-team-card {
  display: grid;
  gap: 1.25rem;
  border: 1px solid var(--rl-border);
  border-radius: var(--rl-radius-md);
  overflow: hidden;
  background: var(--rl-cream);
}

.rl-team--compact .rl-team-card {
  background: rgb(255 255 255 / 0.04);
  border-color: rgb(255 255 255 / 0.12);
}

.rl-team-card__figure {
  margin: 0;
  background: var(--rl-white);
}

.rl-team-card__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

.rl-team-card__body {
  padding: 0 1.5rem 1.5rem;
}

.rl-team-card__name {
  margin: 0 0 0.25rem;
  font-family: var(--rl-font-serif);
  font-size: 1.375rem;
}

.rl-team-card__role {
  margin: 0 0 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rl-gold-dark);
}

.rl-team--compact .rl-team-card__role {
  color: var(--rl-gold);
}

.rl-team-card__oab {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rl-slate-light);
}

.rl-team--compact .rl-team-card__oab {
  color: rgb(255 255 255 / 0.55);
}

.rl-team-card__areas {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  color: var(--rl-slate);
}

.rl-team--compact .rl-team-card__areas {
  color: rgb(255 255 255 / 0.72);
}

.rl-team-card__bio {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--rl-slate);
}

.rl-team__more {
  margin: 2rem 0 0;
  text-align: center;
}

.rl-team--compact .rl-text-link {
  color: var(--rl-gold);
  border-bottom-color: rgb(184 152 95 / 0.35);
}

/* Testimonials */
.rl-testimonials {
  padding: 5rem 0;
  background: var(--rl-cream);
  border-bottom: 1px solid var(--rl-border);
}

.rl-testimonials__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.rl-testimonial {
  margin: 0;
  padding: 2rem;
  background: var(--rl-white);
  border: 1px solid var(--rl-border);
  border-left: 3px solid var(--rl-gold-dark);
  border-radius: var(--rl-radius-md);
}

.rl-testimonial__quote {
  margin: 0 0 1.25rem;
  font-family: var(--rl-font-serif);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--rl-navy);
}

.rl-testimonial__footer {
  display: grid;
  gap: 0.25rem;
}

.rl-testimonial__author {
  font-style: normal;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--rl-navy);
}

.rl-testimonial__role {
  font-size: 0.8125rem;
  color: var(--rl-slate-light);
}

/* Contact */
.rl-contact {
  padding: 5rem 0;
  background: var(--rl-white);
}

.rl-contact__grid {
  display: grid;
  gap: 2.5rem;
}

.rl-contact__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.rl-contact__label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rl-slate-light);
}

.rl-contact__list a,
.rl-contact__list address,
.rl-contact__list span:last-child {
  font-style: normal;
  font-size: 1rem;
  color: var(--rl-navy);
  text-decoration: none;
}

.rl-contact__list a:hover {
  color: var(--rl-gold-dark);
}

.rl-contact__social {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.rl-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--rl-border-strong);
  border-radius: var(--rl-radius);
  color: var(--rl-navy);
  text-decoration: none;
}

.rl-social-link:hover {
  border-color: var(--rl-gold-dark);
  color: var(--rl-gold-dark);
}

.rl-social-link .rl-icon {
  width: 1.125rem;
  height: 1.125rem;
}

.rl-contact__map iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--rl-border);
  border-radius: var(--rl-radius-md);
}

.rl-contact__form-wrap {
  padding: 2rem;
  border: 1px solid var(--rl-border);
  border-radius: var(--rl-radius-md);
  background: var(--rl-cream);
}

.rl-contact__notice {
  margin-bottom: 1.25rem;
  padding: 0.875rem 1rem;
  border-radius: var(--rl-radius);
  font-size: 0.9375rem;
}

.rl-contact__notice--success {
  background: #ecfdf3;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.rl-contact__notice--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.rl-contact__form {
  display: grid;
  gap: 1rem;
}

.rl-contact__honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.rl-form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.rl-form-field label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rl-navy);
}

.rl-form-field input,
.rl-form-field select,
.rl-form-field textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--rl-border-strong);
  border-radius: var(--rl-radius);
  background: var(--rl-white);
  font: inherit;
  color: var(--rl-navy);
}

.rl-form-field input:focus,
.rl-form-field select:focus,
.rl-form-field textarea:focus {
  outline: 2px solid var(--rl-gold);
  outline-offset: 1px;
  border-color: var(--rl-gold-dark);
}

.rl-form-field.has-error input,
.rl-form-field.has-error select,
.rl-form-field.has-error textarea {
  border-color: #b91c1c;
}

.rl-form-error {
  margin: 0.375rem 0 0;
  font-size: 0.8125rem;
  color: #b91c1c;
}

.rl-form-field--checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.625rem;
  align-items: start;
}

.rl-form-field--checkbox input {
  width: auto;
  margin-top: 0.2rem;
}

.rl-form-field--checkbox label {
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .rl-hero--institutional .rl-hero__split {
    grid-template-columns: 1.4fr 0.9fr;
    gap: 3rem;
  }

  .rl-hero__actions--left {
    flex-direction: row;
    justify-content: flex-start;
  }

  .rl-areas__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
  }

  .rl-area-card--featured {
    grid-row: span 2;
  }

  .rl-area-card--wide {
    grid-column: span 2;
  }

  .rl-about-preview__grid {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .rl-team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rl-testimonials__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rl-contact__grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .rl-form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .rl-team-card {
    grid-template-columns: 11rem 1fr;
  }

  .rl-team-card__body {
    padding: 1.5rem 1.5rem 1.5rem 0;
    align-self: center;
  }
}

.rl-practice-page__features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.rl-practice-page__features li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
}

.rl-practice-page__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.375rem;
  height: 1px;
  background: var(--rl-gold-dark);
}

.rl-practice-page__cta {
  text-align: left;
}

.rl-turnstile {
  margin-bottom: 0.5rem;
}

.rl-privacy-updated {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--rl-slate-light);
}

.rl-form-field--checkbox label a {
  color: var(--rl-gold-dark);
  text-underline-offset: 2px;
}
/**
 * Practice areas page & RS Service overrides on home.
 */

.rl-page-services {
  padding: var(--space-16) 0 var(--space-20);
  background: var(--rl-cream);
  min-height: 60vh;
}

.rl-practice-areas__head {
  margin-bottom: var(--space-12);
}

.rl-page-services__cta {
  max-width: 36rem;
  margin: var(--space-16) auto 0;
  text-align: center;
}

.rl-page-services__cta-lead {
  margin: 0 0 var(--space-6);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--rl-slate);
}

.rl-practice-areas {
  padding: 0;
}

.rl-practice-areas__layout {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.rl-practice-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.rl-practice-grid--row {
  align-items: stretch;
}

.rl-practice-areas__stack {
  display: grid;
  gap: 1.25rem;
}

.rl-practice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem;
  background: var(--rl-white);
  border: 1px solid var(--rl-border);
  border-radius: var(--rl-radius-md);
  box-shadow: var(--rl-shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rl-practice-card:hover {
  border-color: var(--rl-border-strong);
  box-shadow: var(--rl-shadow-md);
}

.rl-practice-card--featured {
  border-color: var(--rl-gold);
  border-top-width: 3px;
}

.rl-practice-card__badge {
  position: absolute;
  top: 0;
  left: 1.5rem;
  transform: translateY(-50%);
  padding: 0.3125rem 0.75rem;
  font-family: var(--rl-font-sans);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rl-white);
  background: var(--rl-navy);
  border-radius: var(--rl-radius);
  white-space: nowrap;
}

.rl-practice-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--rl-border-strong);
  border-radius: var(--rl-radius);
  background: var(--rl-cream);
  color: var(--rl-gold-dark);
}

.rl-practice-card__icon .rl-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.rl-practice-card__title {
  margin: 0 0 0.75rem;
  font-family: var(--rl-font-serif);
  font-size: 1.375rem;
  line-height: 1.2;
  color: var(--rl-navy);
}

.rl-practice-card__price {
  margin: 0 0 1rem;
  font-family: var(--rl-font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--rl-navy);
}

.rl-practice-card__price span {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--rl-font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--rl-slate-light);
}

.rl-practice-card__desc {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--rl-slate);
}

.rl-practice-card__features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1;
}

.rl-practice-card__features li {
  position: relative;
  padding-left: 1.125rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--rl-slate);
}

.rl-practice-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.375rem;
  height: 1px;
  background: var(--rl-gold);
}

.rl-practice-card__cta {
  width: 100%;
  margin-top: auto;
  text-align: center;
  text-decoration: none;
}

.rl-practice-card--featured .rl-btn-secondary {
  border-color: var(--rl-navy);
}

/* RS Service on home — lawyers styling */
.theme-rs-lawyers .rs-service-section {
  padding: 5rem 0;
  background: var(--rl-white);
  border-bottom: 1px solid var(--rl-border);
}

.theme-rs-lawyers .rs-service-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.theme-rs-lawyers .rs-service-badge {
  font-family: var(--rl-font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rl-gold-dark);
  background: var(--rl-gold-soft);
  border-color: rgb(184 152 95 / 0.25);
  border-radius: var(--rl-radius);
}

.theme-rs-lawyers .rs-service-title {
  font-family: var(--rl-font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  font-weight: 600;
  color: var(--rl-navy);
}

.theme-rs-lawyers .rs-service-subtitle {
  color: var(--rl-slate-light);
}

.theme-rs-lawyers .rs-service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  flex-direction: unset;
  flex-wrap: unset;
}

.theme-rs-lawyers .rs-service-card-wrap {
  width: auto;
  flex: unset;
}

.theme-rs-lawyers .rs-service-card {
  border-radius: var(--rl-radius-md);
  border-color: var(--rl-border);
  box-shadow: var(--rl-shadow-sm);
}

.theme-rs-lawyers .rs-service-card-title {
  font-family: var(--rl-font-serif);
  font-size: 1.125rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--rl-navy);
}

.theme-rs-lawyers .rs-service-popular-badge {
  background: var(--rl-navy) !important;
  border-radius: var(--rl-radius) !important;
}

.theme-rs-lawyers .rs-service-btn-primary,
.theme-rs-lawyers button.rs-service-btn-primary {
  background: var(--rl-gold) !important;
  color: var(--rl-navy) !important;
  border-color: var(--rl-gold) !important;
  border-radius: var(--rl-radius) !important;
  font-size: 0.8125rem !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

.theme-rs-lawyers .rs-service-btn-outline,
.theme-rs-lawyers button.rs-service-btn-outline {
  background: var(--rl-white) !important;
  color: var(--rl-navy) !important;
  border-color: var(--rl-border-strong) !important;
  border-radius: var(--rl-radius) !important;
}

.theme-rs-lawyers .rs-faq-section {
  background: var(--rl-cream);
  border-top: 1px solid var(--rl-border);
}

.theme-rs-lawyers .rs-faq-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rl-gold-dark);
}

.theme-rs-lawyers .rs-faq-title {
  font-family: var(--rl-font-serif);
  font-weight: 600;
  color: var(--rl-navy);
}

.theme-rs-lawyers .rs-faq-item summary,
.theme-rs-lawyers .rs-faq-question {
  color: var(--rl-navy);
  font-weight: 500;
}

@media (min-width: 768px) {
  .rl-practice-grid,
  .rl-practice-grid--row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .rl-practice-areas__layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: stretch;
    gap: 1.5rem;
  }

  .rl-practice-card--featured .rl-practice-card__title {
    font-size: 1.625rem;
  }

  .theme-rs-lawyers .rs-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .rl-practice-grid--row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .theme-rs-lawyers .rs-service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
