:root {
  --wine: #7e0703;
  --navy: #3a0000;
  --navy-2: #7e0703;
  --ink: #2a1715;
  --graphite: #2a1715;
  --muted: #5a4540;
  --line: #c9b9aa;
  --off-white: #f4efe7;
  --paper: #fffdf8;
  --beige: #dfd8ce;
  --gold: #ccb598;
  --gold-deep: #8b7167;
  --sage: #f2dad2;
  --blue-wash: #e5d9c9;
  --white: #ffffff;
  --font-heading: "Montserrat", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow: 0 22px 64px rgba(58, 0, 0, 0.12);
  --shadow-lift: 0 18px 50px rgba(58, 0, 0, 0.1);
  --shadow-soft: 0 8px 24px rgba(58, 0, 0, 0.12);
  --transition: 180ms ease;
  --radius: 8px;
  --content: 1180px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--header-height) + 18px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  color: var(--graphite);
  background: var(--paper);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.52'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

body.menu-open {
  overflow: hidden;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  max-width: min(820px, 100%);
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(2.55rem, 4.6vw, 4rem);
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

p {
  color: var(--muted);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

.mobile-break {
  display: none;
}

.site-header {
  --active-header-height: var(--header-height);
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: var(--active-header-height);
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(201, 185, 170, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 0 0 rgba(58, 0, 0, 0);
  transition: height 260ms ease, background-color 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.site-header.is-scrolled {
  --active-header-height: 60px;
  background: rgba(255, 253, 248, 0.98);
  border-color: rgba(201, 185, 170, 0.46);
  box-shadow: 0 4px 20px rgba(58, 0, 0, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 40px, var(--content));
  height: 100%;
  margin: 0 auto;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  min-width: max-content;
}

.brand-logo {
  display: block;
  width: clamp(186px, 19vw, 250px);
  height: auto;
  transition: width 260ms ease;
}

.site-header.is-scrolled .brand-logo {
  width: clamp(166px, 17vw, 218px);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  font-size: 0.92rem;
}

.nav-links a {
  position: relative;
  color: var(--muted);
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--navy);
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--gold);
  opacity: 0;
  transform: scaleX(0.45);
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links a:not(.nav-cta).active::after,
.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta):focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-align: center;
}

.nav-cta {
  color: var(--white) !important;
  background: var(--wine);
  border-color: rgba(126, 7, 3, 0.44);
  box-shadow: 0 10px 26px rgba(58, 0, 0, 0.12);
}

.nav-cta.active {
  background: var(--navy);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.hero {
  position: relative;
  display: block;
  z-index: 0;
  overflow: hidden;
}

.hero-cinematic {
  isolation: isolate;
  min-height: min(820px, 92vh);
  padding: 0;
  background: var(--navy);
  color: var(--white);
}

.hero-cinematic-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/partners-hero-new-optimized.png");
  background-position: 72% 12%;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(0.7) contrast(0.95) brightness(0.85);
}

.hero-cinematic-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(33, 0, 0, 0.94) 0%, rgba(58, 0, 0, 0.84) 38%, rgba(58, 0, 0, 0.56) 68%, rgba(33, 0, 0, 0.5) 100%),
    linear-gradient(180deg, rgba(33, 0, 0, 0.38) 0%, rgba(33, 0, 0, 0.18) 50%, rgba(33, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.hero-cinematic-shell {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  width: min(100% - 48px, var(--content));
  min-height: inherit;
  margin: 0 auto;
  padding: calc(var(--header-height) + 56px) 0 88px;
}

.hero-cinematic-content {
  max-width: 640px;
  color: var(--white);
}

.hero-cinematic-rule {
  display: block;
  width: 72px;
  height: 1px;
  margin-bottom: 28px;
  background: var(--gold);
  opacity: 0.85;
}

.hero-cinematic .hero-cinematic-content h1 {
  margin: 0 0 22px;
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.7vw, 2.3rem);
  line-height: 1.04;
  letter-spacing: -0.005em;
}

.hero-cinematic-subtitle {
  max-width: 520px;
  margin: 0 0 36px;
  color: rgba(255, 253, 248, 0.84);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.6;
}

.hero-cinematic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
}

.hero-cinematic-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  transition: color 200ms ease, border-color 200ms ease, gap 200ms ease;
}

.hero-cinematic-link svg {
  width: 18px;
  height: 18px;
  transition: transform 200ms ease;
}

.hero-cinematic-link:hover,
.hero-cinematic-link:focus-visible {
  gap: 16px;
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.hero-cinematic-link:hover svg,
.hero-cinematic-link:focus-visible svg {
  transform: translateX(3px);
}

@media (max-width: 860px) {
  .hero-cinematic {
    min-height: min(720px, 90vh);
  }

  .hero-cinematic-media {
    background-position: 70% 10%;
  }

  .hero-cinematic-overlay {
    background:
      linear-gradient(180deg, rgba(33, 0, 0, 0.82) 0%, rgba(33, 0, 0, 0.62) 40%, rgba(33, 0, 0, 0.72) 100%);
  }

  .hero-cinematic-shell {
    padding: calc(var(--header-height) + 44px) 0 64px;
  }
}

@media (max-width: 540px) {
  .hero-cinematic {
    min-height: 640px;
  }
}

.hero-text {
  position: relative;
  z-index: 4;
  min-width: 0;
  width: 100%;
  max-width: 620px;
  padding: 56px 0 150px;
}

.hero h1 {
  max-width: 610px;
  margin-bottom: 22px;
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.005em;
}

.eyebrow,
.section-kicker {
  margin-bottom: 14px;
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hero-subtitle {
  max-width: 570px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button-primary {
  color: var(--white);
  background: var(--wine);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(58, 0, 0, 0.12);
}

.button-secondary {
  color: var(--navy);
  background: var(--gold);
  border-color: rgba(139, 113, 103, 0.34);
}

.button-outline {
  color: var(--navy);
  background: transparent;
  border-color: rgba(126, 7, 3, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--navy);
}

.button-secondary:hover,
.button-secondary:focus-visible,
.button-outline:hover,
.button-outline:focus-visible {
  color: var(--navy);
  background: var(--sage);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(139, 113, 103, 0.18);
  border-radius: 4px;
  font-size: 0.88rem;
}

.hero-note {
  position: absolute;
  top: 152px;
  right: clamp(42px, 6.6vw, 108px);
  z-index: 5;
  max-width: 215px;
  color: var(--navy);
}

.hero-note span {
  display: block;
  height: 30px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 2.35rem;
  line-height: 1;
}

.hero-note p {
  margin-bottom: 8px;
  color: var(--graphite);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.hero-note small {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-partners {
  position: absolute;
  right: clamp(-18px, 1vw, 32px);
  bottom: -20px;
  z-index: 3;
  width: min(64vw, 860px);
  margin: 0;
  pointer-events: none;
}

.hero-partners img {
  width: 100%;
  height: auto;
  filter: saturate(0.96) contrast(1.02);
}

.section,
.authority,
.institutional-band {
  padding: 104px max(24px, calc((100vw - var(--content)) / 2));
}

.section-intro {
  max-width: 780px;
  margin-bottom: 40px;
}

.section-intro.centered {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.authority {
  background: var(--paper);
}

.authority h2 {
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
}

.compat-highlights {
  padding: 0 max(24px, calc((100vw - var(--content)) / 2));
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid rgba(58, 0, 0, 0.08);
}

.compat-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compat-highlights article {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 130px;
  padding: 32px 28px;
  text-align: center;
  border-right: 1px solid rgba(58, 0, 0, 0.1);
}

.compat-highlights article:last-child {
  border-right: 0;
}

.compat-number {
  display: inline-block;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--wine);
  letter-spacing: -0.005em;
}

.compat-highlights p {
  max-width: 280px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.feature-grid,
.practice-grid,
.article-grid,
.team-grid {
  display: grid;
  gap: 22px;
}

.feature-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.practice-card,
.article-card,
.team-card,
.compact-block,
.contact-form {
  background: var(--white);
  border: 1px solid rgba(139, 113, 103, 0.18);
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.feature-card:hover,
.practice-card:hover,
.article-card:hover,
.team-card:hover,
.compact-block:hover,
.authority-card:hover,
.principle-card:hover {
  border-color: rgba(126, 7, 3, 0.32);
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}

.feature-card {
  position: relative;
  padding: 28px;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 34px;
  height: 34px;
  border-right: 1px solid rgba(126, 7, 3, 0.24);
  border-bottom: 1px solid rgba(126, 7, 3, 0.24);
}

.icon-line {
  display: block;
  margin-bottom: 24px;
  color: var(--wine);
  font-family: var(--font-serif);
  font-size: 1.55rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.76fr);
  align-items: center;
  gap: 66px;
}

.split-copy {
  max-width: 720px;
}

.split-copy h2 {
  margin-bottom: 28px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
}

.split-copy h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  margin-top: 18px;
  background: var(--wine);
  opacity: 0.55;
}

.split-copy p {
  max-width: 720px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.split-copy p:last-child {
  margin-bottom: 0;
}

.keyword-panel {
  position: relative;
  overflow: hidden;
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.keyword-panel > img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.03);
}

.office-carousel {
  position: relative;
  height: clamp(360px, 46vw, 540px);
  overflow: hidden;
  background: var(--navy);
}

.office-carousel-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(0.98) contrast(1.03);
  transform: scale(1);
  transition: opacity 1800ms ease-in-out;
  backface-visibility: hidden;
  will-change: opacity, transform;
}

.office-carousel-image.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  animation: office-carousel-zoom-out 4000ms linear forwards;
}

@keyframes office-carousel-zoom-out {
  from {
    transform: scale(1.035);
  }

  88% {
    transform: scale(1);
  }

  to {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .office-carousel-image {
    transform: none;
    transition: none;
  }

  .office-carousel-image.is-active {
    animation: none;
    transform: none;
  }
}

.muted {
  background: var(--off-white);
}

.meeting-band {
  padding: 38px max(24px, calc((100vw - var(--content)) / 2));
  color: var(--white);
  background:
    radial-gradient(circle at 14% 50%, rgba(204, 181, 152, 0.16), transparent 30%),
    linear-gradient(135deg, var(--navy), var(--wine) 58%, var(--navy));
  border-top: 1px solid rgba(204, 181, 152, 0.22);
  border-bottom: 1px solid rgba(204, 181, 152, 0.22);
}

.meeting-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
  align-items: center;
  gap: 28px;
}

.meeting-band h2 {
  max-width: none;
  margin: 0;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 1.65vw, 1.75rem);
  font-weight: 700;
  line-height: 1.08;
  white-space: nowrap;
}

.meeting-band-button {
  justify-self: center;
  flex: 0 0 auto;
  color: var(--navy);
  background: var(--gold);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 34px rgba(33, 0, 0, 0.24);
}

.meeting-band-button:hover,
.meeting-band-button:focus-visible {
  color: var(--navy);
  background: var(--sage);
}

.practice-section {
  padding-top: clamp(72px, 8vw, 120px);
  padding-bottom: clamp(72px, 8vw, 120px);
}

.practice-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: start;
}

.practice-aside {
  max-width: 720px;
}

.practice-aside h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0;
  line-height: 1.1;
}

.practice-aside h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  margin-top: 18px;
  background: var(--wine);
  opacity: 0.55;
}

.practice-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.practice-card {
  min-height: 100%;
  padding: 24px;
}

.practice-card h3 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--wine);
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.22;
}

.practice-icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--wine);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.practice-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.64;
}

.practice-link {
  margin-left: 6px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(58, 0, 0, 0.18);
  transition: color 180ms ease, border-color 180ms ease;
}

.practice-link:hover,
.practice-link:focus-visible {
  color: var(--wine);
  border-bottom-color: var(--wine);
}

@media (max-width: 860px) {
  .practice-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .practice-aside {
    position: static;
  }
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 40px;
  margin-top: 8px;
  color: var(--navy);
  font-weight: 700;
}

.text-link::after {
  content: "";
  width: 22px;
  height: 1px;
  margin-left: 10px;
  background: var(--gold);
  transition: width 180ms ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  width: 36px;
}

.process-section {
  background: var(--navy);
}

.process-section h2,
.process-section h3 {
  color: var(--white);
}

.process-section .section-kicker {
  color: var(--beige);
}

.timeline {
  display: grid;
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
  gap: 18px;
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.timeline-item h3 {
  margin-bottom: 0;
  font-size: clamp(1.12rem, 1.6vw, 1.45rem);
  line-height: 1.2;
  text-align: center;
}

.timeline-item span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--gold);
  background: rgba(204, 181, 152, 0.1);
  border: 1px solid rgba(204, 181, 152, 0.32);
  border-radius: 50%;
}

.timeline-item span::before {
  content: "";
  width: 12px;
  height: 7px;
  border-bottom: 2.5px solid currentColor;
  border-left: 2.5px solid currentColor;
  transform: translateY(-2px) rotate(-45deg);
}

.timeline-item p {
  color: rgba(255, 255, 255, 0.73);
}

.authority-section {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 255, 255, 0.98)),
    linear-gradient(90deg, rgba(58, 0, 0, 0.035) 1px, transparent 1px);
  background-size: auto, 72px 72px;
}

.authority-section .section-intro p,
.client-principles-section .section-intro p,
.faq-section .section-intro p {
  margin-right: auto;
  margin-left: auto;
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.authority-card,
.principle-card,
.faq-item,
.section-cta {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.authority-card {
  grid-column: span 2;
  position: relative;
  min-height: 260px;
  padding: 28px;
  overflow: hidden;
  box-shadow: 0 18px 46px rgba(58, 0, 0, 0.06);
}

.authority-card-wide {
  grid-column: span 4;
}

.authority-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 28px;
  width: 1px;
  height: 72px;
  background: rgba(126, 7, 3, 0.36);
}

.authority-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  color: var(--navy);
  background: rgba(242, 218, 210, 0.58);
  border: 1px solid rgba(139, 113, 103, 0.18);
  border-radius: 50%;
  font-family: var(--font-serif);
}

.authority-card h3,
.principle-card h3 {
  font-size: 1.22rem;
}

.authority-card p,
.principle-card p,
.faq-item p {
  margin-bottom: 0;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.principle-card {
  position: relative;
  min-height: 250px;
  padding: 30px;
  background: linear-gradient(180deg, #ffffff, #fbf8f0);
}

.principle-mark {
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 26px;
  background: var(--gold);
}

.ethics-note {
  max-width: 860px;
  margin: 28px auto 0;
  padding: 18px 22px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.66);
  border-left: 3px solid rgba(126, 7, 3, 0.7);
  font-size: 0.94rem;
}

.google-reviews-section {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(248, 246, 241, 0.98)),
    var(--off-white);
}

.google-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.google-reviews-embed {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 14px 12px 2px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(139, 113, 103, 0.14);
  border-radius: 12px;
}

.google-review-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 28px;
  text-align: left;
  background: var(--white);
  border: 1px solid rgba(139, 113, 103, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(58, 0, 0, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.google-review-card:hover,
.google-review-card:focus-within {
  border-color: rgba(126, 7, 3, 0.32);
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}

.google-review-stars {
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.16em;
  line-height: 1;
}

.google-review-text {
  flex: 1;
  margin-bottom: 26px;
  color: var(--graphite);
  font-size: 1rem;
  line-height: 1.7;
}

.google-review-author strong,
.google-review-author span {
  display: block;
}

.google-review-author strong {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 700;
}

.google-review-author span {
  color: var(--muted);
  font-size: 0.82rem;
}

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

.lp-page .lp-hero {
  min-height: auto;
}

.lp-page .hero-stage {
  align-self: center;
}

.lp-overview .section-intro {
  max-width: 900px;
}

.lp-list-card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lp-list-card ul {
  display: grid;
  gap: 14px;
  padding-left: 20px;
  margin: 0;
  color: var(--graphite);
}

.lp-list-card li::marker {
  color: var(--gold);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: var(--content);
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.faq-item[open] {
  background: var(--white);
  border-color: rgba(126, 7, 3, 0.36);
  box-shadow: 0 18px 42px rgba(58, 0, 0, 0.08);
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 20px 64px 20px 24px;
  color: var(--navy);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--navy);
  background: rgba(242, 218, 210, 0.58);
  border: 1px solid rgba(139, 113, 103, 0.18);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 500;
  transition: transform 180ms ease, background-color 180ms ease;
}

.faq-item[open] summary::after {
  content: "-";
  background: rgba(204, 181, 152, 0.22);
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 64px 24px 24px;
}

.faq-item ul {
  margin: -8px 0 24px;
  padding: 0 64px 0 46px;
  color: var(--graphite);
  line-height: 1.75;
}

.faq-item li + li {
  margin-top: 10px;
}

.faq-item li::marker {
  color: var(--gold);
}

.section-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: 920px;
  margin: 34px auto 0;
  padding: 24px;
}

.section-cta p {
  margin-bottom: 0;
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.35;
}

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

.article-card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 28px;
  background: linear-gradient(180deg, #ffffff, #fbf8f0);
}

.blog-card {
  overflow: hidden;
  padding: 0;
}

.article-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: #efe5d6;
}

.article-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 30, 51, 0.04), rgba(11, 30, 51, 0.2));
  pointer-events: none;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 260ms ease;
}

.blog-card:hover .article-card-image img,
.blog-card:focus-within .article-card-image img {
  transform: scale(1.035);
}

.article-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 26px 26px;
}

.blog-card h3 {
  margin-bottom: 10px;
}

.article-meta {
  margin-bottom: 16px;
  color: var(--gold-deep);
  font-size: 0.9rem;
  font-weight: 700;
}

.article-card a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 42px;
  padding: 9px 0;
  margin-top: auto;
  color: var(--navy);
  font-weight: 700;
}

.article-card a::after {
  content: "";
  width: 24px;
  height: 1px;
  margin-left: 10px;
  background: var(--gold);
  transition: width 180ms ease;
}

.article-card a:hover::after,
.article-card a:focus-visible::after {
  width: 38px;
}

.article-tag {
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-section-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

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

.blog-hero {
  padding: calc(var(--header-height) + 74px) max(24px, calc((100vw - var(--content)) / 2)) 70px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.8), rgba(242, 218, 210, 0.36)),
    var(--paper);
  border-bottom: 1px solid rgba(139, 113, 103, 0.16);
}

.blog-hero-shell {
  max-width: 860px;
}

.blog-hero h1 {
  max-width: 850px;
}

.blog-hero p {
  max-width: 720px;
  font-size: 1.08rem;
}

.blog-list-section {
  padding-top: 76px;
}

.blog-article {
  padding: calc(var(--header-height) + 74px) max(24px, calc((100vw - 840px) / 2)) 96px;
  background: var(--paper);
}

.blog-article-header {
  margin-bottom: 36px;
}

.blog-article-header .article-tag {
  margin-bottom: 16px;
}

.blog-article-header h1 {
  max-width: 840px;
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 5vw, 3.8rem);
}

.article-summary {
  max-width: 720px;
  color: var(--graphite);
  font-size: 1.12rem;
  line-height: 1.72;
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-bottom: 28px;
  color: var(--wine);
  font-weight: 700;
}

.blog-article-cover {
  max-width: 920px;
  margin: 0 0 42px;
  overflow: hidden;
  background: #efe5d6;
  border: 1px solid rgba(139, 113, 103, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.blog-article-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.blog-article-body {
  display: grid;
  gap: 24px;
  max-width: 780px;
}

.blog-article-body h2 {
  margin: 18px 0 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.blog-article-body p,
.blog-article-body li {
  color: var(--graphite);
  font-size: 1.08rem;
  line-height: 1.78;
}

.blog-article-body ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 24px;
}

.blog-article-body li::marker {
  color: var(--gold);
}

.blog-article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
  padding: 26px;
  background: var(--white);
  border: 1px solid rgba(139, 113, 103, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.blog-article-cta p {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
}

.team-grid {
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  max-width: 960px;
  margin: 0 auto;
  gap: clamp(28px, 6vw, 72px);
}

.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 360px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(139, 113, 103, 0.18);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5.35;
  object-fit: cover;
  object-position: center top;
  border-radius: 28px 28px 0 0;
  filter: saturate(0.96) contrast(1.04);
}

.team-section .team-card:hover,
.team-section .team-card:focus-within {
  border-color: rgba(126, 7, 3, 0.32);
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}

.team-info {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 138px;
  margin-top: -16px;
  padding: 24px 22px 22px;
  color: var(--graphite);
  background: var(--paper);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -8px 26px rgba(58, 0, 0, 0.08);
  text-align: center;
}

.team-info h3 {
  max-width: 280px;
  margin: 0 auto 9px;
  color: var(--navy);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.18;
  text-transform: uppercase;
}

.team-info p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
}

.team-info .oab {
  margin-bottom: 8px;
  color: var(--wine);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.mini-bio {
  margin-bottom: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.institutional-band {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.institutional-band h2,
.institutional-band h3 {
  color: var(--white);
}

.institutional-band .section-kicker {
  color: var(--beige);
}

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

.compact-block {
  min-height: 170px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}

.compact-block h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(380px, 0.86fr);
  gap: 54px;
  align-items: start;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.contact-section h2,
.contact-section .contact-copy > p {
  color: var(--white);
}

.contact-section .section-kicker {
  color: var(--beige);
}

.contact-section .contact-list > a,
.contact-section .contact-list > span {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.contact-section .contact-list .social-link {
  color: var(--beige);
}

.contact-section .contact-list .social-icon {
  color: var(--beige);
}

.contact-section .contact-list .contact-icon {
  color: var(--beige);
}

.location-section {
  padding-bottom: 44px;
  background: var(--off-white);
}

.location-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.location-map-only {
  display: block;
}

.map-card {
  min-height: 520px;
  background:
    linear-gradient(135deg, rgba(58, 0, 0, 0.08), rgba(204, 181, 152, 0.16)),
    var(--paper);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

.map-fallback {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 430px;
  padding: 34px;
  text-align: center;
}

.map-fallback p {
  max-width: 390px;
  margin-bottom: 18px;
}

.map-fallback a {
  color: var(--navy);
  font-weight: 700;
}

.map-pin {
  position: relative;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border: 2px solid rgba(126, 7, 3, 0.62);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.map-pin::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  margin: 16px;
  background: var(--navy);
  border-radius: 50%;
}

.location-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px;
  border-left: 1px solid var(--line);
}

.location-info p:last-of-type {
  margin-bottom: 28px;
}

.location-route {
  align-self: flex-start;
  background: var(--paper);
}

.contact-copy {
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  font-style: normal;
}

.contact-list > a,
.contact-list > span {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
}

.contact-list > a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.contact-icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--wine);
  fill: currentColor;
  flex: 0 0 auto;
}

.contact-list .social-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
}

.social-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--wine);
  fill: currentColor;
  transition: color 180ms ease, transform 180ms ease;
}

.social-link:hover .social-icon,
.social-link:focus-visible .social-icon {
  color: var(--navy);
  transform: translateY(-1px);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-whatsapp {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  color: var(--navy);
  background: linear-gradient(135deg, rgba(31, 111, 74, 0.1), rgba(183, 201, 183, 0.24));
  border: 1px solid rgba(31, 111, 74, 0.2);
  border-radius: var(--radius);
}

.contact-whatsapp strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 1rem;
}

.contact-whatsapp p {
  margin: 0;
  color: #385242;
  font-size: 0.94rem;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  flex: 0 0 auto;
  padding: 10px 14px;
  color: var(--white);
  background: #1f6f4a;
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(31, 111, 74, 0.2);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-link:hover,
.whatsapp-link:focus-visible {
  background: #185a3b;
  box-shadow: 0 16px 34px rgba(31, 111, 74, 0.26);
  transform: translateY(-1px);
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full,
.button.full,
.form-status,
.form-note {
  grid-column: 1 / -1;
}

label {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--graphite);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(126, 7, 3, 0.32);
  outline-offset: 3px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.form-note {
  margin: -4px 0 0;
  font-size: 0.86rem;
}

.form-status {
  display: none;
  margin: -2px 0 0;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  color: #174f35;
  background: rgba(183, 201, 183, 0.28);
  border-color: rgba(31, 111, 74, 0.24);
}

.form-status.is-error {
  color: #78321f;
  background: rgba(242, 218, 210, 0.5);
  border-color: rgba(126, 7, 3, 0.22);
}

.site-footer.footer-editorial {
  position: relative;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 82% 22%, rgba(204, 181, 152, 0.18), transparent 32%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
}

.pattern-divider {
  width: 100%;
  height: 80px;
  background-color: var(--paper);
  background-image: url("assets/footer-pattern.svg");
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 100%;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 100%);
}

.footer-editorial-shell {
  width: min(100% - 40px, var(--content));
  margin: 0 auto;
  padding: 54px 0 56px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.footer-legal {
  width: 100%;
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.58);
  background: rgba(0, 0, 0, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: center;
}

.footer-editorial-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.42fr) minmax(320px, 1.15fr);
  align-items: start;
  gap: 44px;
}

.footer-editorial h2 {
  margin-bottom: 18px;
  color: var(--beige);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-editorial nav,
.footer-editorial-contact {
  display: grid;
  gap: 11px;
  font-style: normal;
}

.footer-editorial a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  line-height: 1.45;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-editorial a:hover,
.footer-editorial a:focus-visible {
  color: var(--beige);
  transform: translateX(3px);
}

.footer-editorial-contact a {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: rgba(221, 204, 176, 0.86);
  fill: currentColor;
  flex: 0 0 auto;
}

.footer-brand-mark {
  display: block;
  width: 110px;
  height: auto;
  margin-bottom: 0;
  opacity: 0.85;
}

.footer-brand-column {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.footer-map-column {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.footer-map-column:hover,
.footer-map-column:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.36);
}

.footer-map {
  display: block;
  width: 100%;
  min-height: 220px;
  aspect-ratio: 16 / 11;
  border: 0;
  filter: saturate(0.92);
  pointer-events: none;
}

.footer-map-cta {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 12px;
  color: var(--navy);
  background: rgba(255, 253, 248, 0.94);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

.footer-social-links {
  display: flex;
  gap: 14px;
  margin-top: 0;
}

.footer-social-links a {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.footer-social-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-social-links a:hover,
.footer-social-links a:focus-visible {
  color: rgba(221, 204, 176, 0.9);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .footer-editorial-shell {
    width: min(100% - 32px, var(--content));
    padding: 38px 0 42px;
  }

  .footer-editorial-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  color: var(--white);
  background: #1f6f4a;
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(31, 111, 74, 0.28);
  font-weight: 700;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.back-to-top {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--navy);
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(126, 7, 3, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(58, 0, 0, 0.12);
  font-size: 1.15rem;
  font-weight: 800;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease, background-color 180ms ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--white);
}

.back-to-top.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-float.is-hidden,
.back-to-top.is-hidden {
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
}

@media (max-width: 1080px) {
  .nav-links {
    gap: 12px;
    font-size: 0.86rem;
  }

  .hero {
    padding-top: calc(var(--header-height) + 46px);
  }

  .hero-frame {
    grid-template-columns: 1fr;
    min-height: 700px;
  }

  .hero-text {
    max-width: 590px;
    padding: 24px 0 240px;
  }

  .hero h1 {
    max-width: 560px;
    font-size: 2.7rem;
  }

  .hero-note {
    top: 124px;
    right: 42px;
  }

  .hero-partners {
    right: -36px;
    bottom: -28px;
    width: min(98vw, 860px);
  }

  .hero-base {
    height: 270px;
  }

  .feature-grid.four,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compat-highlights-grid {
    grid-template-columns: 1fr;
  }

  .compat-highlights article {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border-right: 0;
    border-bottom: 1px solid rgba(58, 0, 0, 0.1);
  }

  .compat-highlights p {
    max-width: 360px;
  }

  .compat-highlights article:last-child {
    border-bottom: 0;
  }

  .authority-card,
  .authority-card-wide {
    grid-column: span 3;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .google-reviews-grid {
    grid-template-columns: 1fr;
  }

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

  .timeline {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .nav-shell {
    width: min(100% - 28px, var(--content));
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--active-header-height);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 26px 50px rgba(58, 0, 0, 0.14);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
  }

  .nav-cta {
    margin-top: 4px;
  }

  .hero,
  .section,
  .compat-highlights,
  .meeting-band,
  .authority,
  .institutional-band {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero {
    min-height: auto;
  }

  .hero-frame {
    min-height: auto;
    padding: 34px 24px 0;
    border-radius: 12px 12px 0 0;
  }

  .hero-frame::after,
  .hero-note {
    display: none;
  }

  .hero-frame::before {
    bottom: 84px;
    width: 170px;
  }

  .hero-text {
    max-width: none;
    padding: 0;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 2.3rem;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-partners {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 3;
    width: 122%;
    max-width: none;
    margin: 18px -16% -28px -6%;
  }

  .hero-base {
    height: 31%;
    min-height: 190px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-meta {
    gap: 8px;
  }

  .compat-highlights-grid {
    border-right: 0;
    border-left: 0;
  }

  .split,
  .contact-section,
  .location-card {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }

  .location-info {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .meeting-band-inner {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .blog-article-cta {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 0.98rem;
  }

  h1 {
    font-size: clamp(1.78rem, 7.2vw, 2.05rem);
  }

  h2 {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  .split-copy h2,
  .practice-aside h2 {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  .brand small {
    display: none;
  }

  .brand-logo {
    width: 160px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 36px);
    padding-right: 14px;
    padding-bottom: 42px;
    padding-left: 14px;
    overflow-x: clip;
  }

  .hero-text,
  .hero-subtitle {
    max-width: none;
  }

  .mobile-break {
    display: block;
  }

  .desktop-space {
    display: none;
  }

  .eyebrow,
  .section-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .hero-frame {
    padding: 28px 18px 0;
    border-radius: 12px 12px 0 0;
  }

  .hero h1 {
    font-size: 1.95rem;
    line-height: 1.08;
  }

  .hero-frame::before {
    bottom: 74px;
    left: -44px;
  }

  .hero-base {
    min-height: 154px;
  }

  .hero-partners {
    width: 138%;
    margin: 18px -26% -24px -12%;
  }

  .hero-actions {
    gap: 10px;
  }

  .section,
  .authority,
  .institutional-band {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .meeting-band {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .meeting-band h2 {
    font-size: clamp(0.92rem, 3.55vw, 1.25rem);
  }

  .meeting-band-button {
    width: 100%;
  }

  .location-section {
    padding-bottom: 32px;
  }

  .compat-highlights article {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: auto;
    padding: 24px 0;
    text-align: center;
  }

  .compat-highlights p {
    max-width: none;
  }

  .office-carousel {
    height: clamp(360px, 118vw, 520px);
  }

  .feature-grid.four,
  .authority-grid,
  .practice-content,
  .practice-grid,
  .article-grid,
  .team-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .blog-hero,
  .blog-article {
    padding-right: 20px;
    padding-left: 20px;
  }

  .authority-card,
  .authority-card-wide {
    grid-column: auto;
  }

  .practice-card,
  .article-card {
    min-height: auto;
  }

  .team-card div,
  .contact-form,
  .location-info,
  .feature-card,
  .authority-card,
  .principle-card,
  .google-review-card,
  .practice-card,
  .article-card {
    padding: 24px;
  }

  .blog-card {
    padding: 0;
  }

  .article-card-content {
    padding: 22px;
  }

  .contact-whatsapp {
    align-items: stretch;
    flex-direction: column;
  }

  .whatsapp-link {
    width: 100%;
  }

  .faq-item summary {
    min-height: 62px;
    padding: 18px 58px 18px 20px;
  }

  .faq-item summary::after {
    right: 20px;
  }

  .faq-item p {
    padding: 0 20px 22px;
  }

  .faq-item ul {
    margin-top: -6px;
    padding: 0 20px 0 40px;
  }

  .map-card,
  .map-card iframe,
  .map-fallback {
    min-height: 320px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-height: 44px;
    padding: 10px 13px;
    font-size: 0.9rem;
  }

  .back-to-top {
    left: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .hero-text,
  .hero-subtitle {
    max-width: none;
  }

  .hero-frame {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-partners {
    width: 148%;
    margin-right: -27%;
    margin-left: -13%;
  }
}

@media (max-width: 860px) {
  .hero.hero-cinematic {
    min-height: min(680px, 88svh);
    padding: 0;
    overflow: hidden;
  }

  .hero-cinematic-media {
    background-position: 66% 100%;
    background-size: auto 82%;
    filter: saturate(0.78) contrast(0.96) brightness(0.9);
  }

  .hero-cinematic-overlay {
    background:
      linear-gradient(180deg, rgba(58, 0, 0, 0.88) 0%, rgba(58, 0, 0, 0.58) 42%, rgba(33, 0, 0, 0.88) 100%),
      linear-gradient(90deg, rgba(33, 0, 0, 0.7) 0%, rgba(58, 0, 0, 0.28) 55%, rgba(33, 0, 0, 0.64) 100%);
  }

  .hero-cinematic-shell {
    width: min(100% - 32px, var(--content));
    padding: calc(var(--header-height) + 26px) 0 30px;
  }

  .hero-cinematic-content {
    max-width: 100%;
  }

  .hero-cinematic-rule {
    width: 68px;
    margin-bottom: 20px;
  }

  .hero-cinematic .hero-cinematic-content h1 {
    max-width: 34rem;
    margin-bottom: 20px;
    font-size: 1.85rem;
    line-height: 1.08;
  }

  .hero-cinematic-actions {
    flex-wrap: nowrap;
    gap: 12px;
  }

  .hero-cinematic-actions .button {
    width: auto;
    min-height: 46px;
    padding: 0 18px;
    flex: 0 0 auto;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .hero-cinematic-link {
    gap: 8px;
    padding: 10px 0;
    flex: 0 0 auto;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .hero-cinematic-link svg {
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 540px) {
  .hero.hero-cinematic {
    min-height: min(630px, 86svh);
  }

  .hero-cinematic-media {
    background-position: 68% 100%;
    background-size: auto 82%;
  }

  .hero-cinematic-shell {
    padding: calc(var(--header-height) + 18px) 0 24px;
  }

  .hero-cinematic .hero-cinematic-content h1 {
    max-width: 21rem;
    margin-bottom: 18px;
    font-size: 1.55rem;
  }

  .hero-cinematic-actions {
    gap: 10px;
  }

  .hero-cinematic-actions .button {
    min-height: 44px;
    padding: 0 14px;
    font-size: 0.72rem;
  }

  .hero-cinematic-link {
    gap: 6px;
    font-size: 0.74rem;
  }
}
