/* Purpose: Letterhead-derived red corporate styling and responsive layout for all Talpur Law Associates portfolio pages. */
:root {
  --brand-red: #a44845;
  --brand-red-deep: #642825;
  --brand-red-soft: #c26a64;
  --accent: #c26a64;
  --accent-soft: #d89a95;
  --white: #faf8f5;
  --light: #f4f4f4;
  --grey: #5b5b5b;
  --dark: #1c1c1c;
  --border: #dfd6d3;
  --glass: rgba(250, 248, 245, 0.78);
  --shadow-sm: 0 14px 38px rgba(100, 40, 37, 0.09);
  --shadow-lg: 0 30px 76px rgba(100, 40, 37, 0.2);
  --heading: "Playfair Display", Georgia, serif;
  --body: "Poppins", Arial, sans-serif;
  --container: 1180px;
  --header-height: 76px;
  --transition: 220ms ease;
}

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

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

body {
  position: relative;
  margin: 0;
  overflow-x: hidden;
  color: var(--dark);
  background:
    radial-gradient(circle at 8% 12%, rgba(194, 106, 100, 0.08), transparent 24rem),
    var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  animation: pageFadeIn 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

h1,
h2,
h3 {
  color: var(--brand-red);
  font-family: var(--heading);
  line-height: 1.15;
}

h1 {
  font-size: clamp(3.25rem, 6vw, 5.6rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2.25rem, 4vw, 3.55rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.4rem;
}

h1 em,
h2 em {
  color: var(--accent);
  font-style: normal;
}

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

::selection {
  color: var(--white);
  background: var(--accent);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--accent);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform var(--transition);
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(250, 248, 245, 0.78);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 34px;
  height: 1px;
  background: currentColor;
}

.eyebrow-dark {
  color: #a44845;
}

.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 10px 28px rgba(194, 106, 100, 0.22);
}

.button-primary:hover {
  background: var(--brand-red);
  box-shadow: 0 14px 34px rgba(194, 106, 100, 0.3);
}

.button-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.button-outline-light:hover {
  border-color: var(--accent);
  background: rgba(194, 106, 100, 0.08);
}

.button-small {
  min-height: 42px;
  padding: 10px 17px;
  font-size: 0.76rem;
}

.button-full {
  width: 100%;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  transition: transform 400ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--dark);
  line-height: 1;
}

.brand-mark {
  width: 43px;
  height: 50px;
  flex: 0 0 43px;
  overflow: visible;
  color: var(--brand-red);
  box-shadow: none;
  transform: none;
  transition: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy strong {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--dark);
  font-family: var(--body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.04;
  text-transform: uppercase;
}

.brand-copy strong span:last-child {
  font-size: 1.02em;
  letter-spacing: 0.015em;
}

.brand-light .brand-copy strong {
  color: var(--white);
}

.brand-light .brand-mark {
  color: var(--brand-red-soft);
}

.hero,
.page-hero {
  --hero-parallax: 0px;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 42%, rgba(194, 106, 100, 0.16), transparent 29%),
    radial-gradient(circle at 14% 72%, rgba(250, 248, 245, 0.05), transparent 24%),
    linear-gradient(125deg, rgba(58, 8, 8, 0.98), rgba(100, 40, 37, 0.94) 58%, rgba(164, 72, 69, 0.86)),
    url("../images/hero-bg.jpg") center calc(50% + var(--hero-parallax)) / cover no-repeat;
  background-attachment: scroll;
}

.page-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 34%;
  height: 100%;
  border-left: 1px solid rgba(194, 106, 100, 0.1);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.025));
  content: "";
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: url("../images/legal-pattern.svg");
  background-position: center;
  background-size: 360px;
  opacity: 0.42;
  mask-image: linear-gradient(90deg, transparent 5%, black 70%);
}

.hero h1 {
  max-width: 800px;
  margin-bottom: 28px;
  color: var(--white);
}

.hero h1 em {
  color: var(--white);
  text-shadow: 0 8px 30px rgba(194, 106, 100, 0.22);
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;
  line-height: 1.9;
}

.hero-lead strong {
  color: var(--white);
  font-weight: 500;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 38px;
}

.trust-row span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.73rem;
  letter-spacing: 0.04em;
}

.trust-row svg {
  width: 17px;
  height: 17px;
  padding: 3px;
  border: 1px solid rgba(194, 106, 100, 0.7);
  border-radius: 50%;
  fill: none;
  stroke: var(--white);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.counsel-card {
  position: absolute;
  right: -34px;
  bottom: 28px;
  display: flex;
  width: 335px;
  align-items: center;
  gap: 14px;
  padding: 17px;
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
}

.counsel-initials {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  color: var(--accent);
  border: 1px solid var(--border);
  font-family: var(--heading);
  font-weight: 700;
}

.counsel-card div {
  display: flex;
  flex-direction: column;
}

.counsel-card small {
  color: #a44845;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.counsel-card strong {
  color: var(--brand-red);
  font-family: var(--heading);
  font-size: 0.96rem;
}

.counsel-card div span {
  color: var(--grey);
  font-size: 0.7rem;
}

.identity-firm {
  margin-top: 4px;
  color: var(--brand-red-deep);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro-section {
  position: relative;
  background: rgba(250, 248, 245, 0.84);
}

.intro-section::after {
  position: absolute;
  top: 0;
  right: 5%;
  color: rgba(164, 72, 69, 0.035);
  content: "JUSTICE";
  font-family: var(--heading);
  font-size: min(15vw, 12rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1;
  pointer-events: none;
}

.intro-grid,
.practice-intro-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 90px;
}

.section-heading h2 {
  margin-bottom: 22px;
}

.section-heading > p:last-child {
  max-width: 690px;
}

.intro-content {
  padding-top: 10px;
}

.intro-content p {
  margin-bottom: 22px;
}

.intro-large {
  color: var(--brand-red);
  font-family: var(--heading);
  font-size: 1.45rem;
  line-height: 1.55;
}

.signature-block {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
}

.signature-block::before {
  display: block;
  width: 42px;
  height: 1px;
  background: var(--accent);
  content: "";
}

.signature-block > span {
  display: flex;
  flex-direction: column;
  color: var(--grey);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.signature-block .signature-mark {
  color: var(--brand-red);
  font-family: var(--heading);
  font-size: 1.3rem;
  font-style: italic;
  text-transform: none;
}

.vision-section {
  padding-top: 0;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.statement-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 64px;
  border: 1px solid var(--border);
  border-radius: 18px 0 0 18px;
  background: rgba(244, 244, 244, 0.7);
  backdrop-filter: blur(12px);
}

.statement-card-dark {
  border-color: var(--brand-red);
  border-radius: 0 18px 18px 0;
  background:
    linear-gradient(145deg, rgba(250, 248, 245, 0.06), transparent 50%),
    var(--brand-red);
}

.statement-number {
  position: absolute;
  top: 28px;
  right: 34px;
  color: rgba(164, 72, 69, 0.08);
  font-family: var(--heading);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
}

.statement-card-dark .statement-number {
  color: rgba(255, 255, 255, 0.06);
}

.statement-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 48px;
  place-items: center;
  border: 1px solid rgba(194, 106, 100, 0.55);
}

.statement-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.statement-card h3 {
  max-width: 410px;
  margin-bottom: 18px;
  font-size: 2rem;
}

.statement-card p:last-child {
  max-width: 480px;
  margin-bottom: 0;
}

.statement-card-dark h3 {
  color: var(--white);
}

.statement-card-dark p:last-child {
  color: rgba(255, 255, 255, 0.62);
}

.why-section {
  background:
    linear-gradient(rgba(250, 248, 245, 0.48), rgba(250, 248, 245, 0.48)),
    var(--light);
}

/* Keep the Vision/Mission and Talpur Standard sections visually connected. */
.vision-section.section {
  padding-bottom: 36px;
}

.why-section.section {
  padding-top: 36px;
}

.section-heading-centered {
  max-width: 740px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading-centered .eyebrow {
  justify-content: center;
}

.section-heading-centered > p:last-child {
  margin-inline: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 330px;
  padding: 38px 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  border-color: rgba(194, 106, 100, 0.7);
  box-shadow: var(--shadow-sm);
  transform: translateY(-7px);
}

.feature-index {
  position: absolute;
  top: 20px;
  right: 22px;
  color: #aaa3a1;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.line-icon,
.practice-icon,
.contact-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 34px;
  place-items: center;
  color: var(--accent);
  border: 1px solid rgba(194, 106, 100, 0.38);
  background: rgba(194, 106, 100, 0.035);
}

.line-icon svg,
.practice-icon svg,
.contact-icon svg,
.contact-icon img {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.35rem;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.86rem;
  line-height: 1.8;
}

.practice-preview,
.consultation-banner,
.contact-cta {
  position: relative;
  overflow: hidden;
  padding: 84px 0;
  background: var(--brand-red);
}

.practice-preview::before,
.consultation-banner::before,
.contact-cta::before {
  position: absolute;
  inset: 0;
  background: url("../images/legal-pattern.svg") center / 350px;
  content: "";
  opacity: 0.4;
}

.practice-preview-inner,
.consultation-banner-inner,
.contact-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.practice-preview-inner > div {
  max-width: 750px;
}

.practice-preview h2,
.consultation-banner h2,
.contact-cta h2 {
  margin-bottom: 16px;
  color: var(--white);
}

.practice-preview p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer {
  padding: 76px 0 0;
  color: var(--white);
  background:
    linear-gradient(rgba(100, 40, 37, 0.97), rgba(100, 40, 37, 0.99)),
    url("../images/legal-pattern.svg") center / 340px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.7fr 0.8fr 1.15fr;
  gap: 58px;
  padding-bottom: 58px;
}

.footer-brand > p {
  max-width: 330px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.8rem;
}

.footer-column {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.footer-column h3 {
  margin-bottom: 8px;
  color: var(--white);
  font-family: var(--body);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.75rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.65rem;
}

.back-to-top {
  position: fixed;
  z-index: 900;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--brand-red);
  background: var(--accent);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity var(--transition), transform var(--transition), background-color var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-soft);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.page-hero {
  min-height: 490px;
  padding: calc(var(--header-height) + 108px) 0 80px;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 830px;
}

.page-hero h1 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(3.4rem, 7vw, 5.7rem);
}

.page-hero-content > p:not(.eyebrow) {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  margin-top: 38px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.breadcrumb a {
  color: var(--accent-soft);
}

.practice-intro {
  padding-bottom: 92px;
}

.practice-list-section {
  padding-top: 0;
  background: linear-gradient(var(--white) 90px, rgba(244, 244, 244, 0.72) 90px);
}

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

.practice-card {
  position: relative;
  overflow: hidden;
  min-height: auto;
  height: auto;
  padding: 40px;
  border: 1px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(rgba(250, 248, 245, 0.8), rgba(250, 248, 245, 0.7)) padding-box,
    linear-gradient(135deg, rgba(194, 106, 100, 0.66), rgba(250, 248, 245, 0.25) 38%, rgba(244, 244, 244, 0.46) 66%, rgba(164, 72, 69, 0.16)) border-box;
  background-size: 100% 100%, 220% 220%;
  box-shadow: 0 12px 34px rgba(164, 72, 69, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.practice-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 350ms ease;
}

.practice-card:hover {
  border-color: rgba(194, 106, 100, 0.58);
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

.practice-card:hover::after {
  transform: scaleX(1);
}

.practice-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.practice-card-top > span {
  color: rgba(164, 72, 69, 0.12);
  font-family: var(--heading);
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1;
}

.practice-card h2 {
  margin: 2px 0 18px;
  font-size: 2rem;
}

.practice-card > p,
.wide-card-content p {
  margin-bottom: 26px;
  font-size: 0.86rem;
}

.service-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 18px;
  color: #4f4948;
  font-size: 0.76rem;
  line-height: 1.55;
}

.service-list li::before {
  position: absolute;
  top: 0.3em;
  left: 2px;
  width: 5px;
  height: 9px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  content: "";
  transform: rotate(45deg);
}

.practice-card-wide {
  min-height: auto;
  grid-column: 1 / -1;
}

.wide-card-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
}

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

/* Keep the final practice card and process section in a continuous flow. */
.practice-list-section.section {
  padding-bottom: 36px;
}

.process-section.section {
  padding-top: 36px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.process-step {
  position: relative;
  min-height: 245px;
  padding: 30px 28px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-step:not(:last-child) {
  border-right: 1px solid var(--border);
}

.process-step > span {
  display: block;
  margin-bottom: 38px;
  color: var(--accent);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.process-step h3 {
  margin-bottom: 12px;
}

.process-step p {
  margin-bottom: 0;
  font-size: 0.78rem;
}

.consultation-banner h2 {
  margin: 0;
}

.contact-section {
  background:
    radial-gradient(circle at 85% 15%, rgba(194, 106, 100, 0.1), transparent 24rem),
    var(--light);
}

.contact-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.7fr);
  gap: 58px;
}

.contact-layout.contact-layout-professional {
  grid-template-columns: minmax(0, 1fr);
  gap: 54px;
}

.contact-main .section-heading {
  margin-bottom: 44px;
}

.contact-main .section-heading > p:last-child {
  max-width: 680px;
}

.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-detail {
  display: flex;
  min-height: 180px;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.contact-detail:hover {
  border-color: rgba(194, 106, 100, 0.58);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.contact-detail-wide {
  grid-column: 1 / -1;
}

.contact-method-personal {
  width: calc((100% - 14px) / 2);
  grid-column: 1 / -1;
  justify-self: center;
}

.contact-detail .contact-icon {
  width: 48px;
  height: 48px;
  margin: 0;
  flex: 0 0 48px;
}

.contact-detail .contact-icon svg {
  width: 24px;
}

.contact-detail .contact-method-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: var(--brand-red);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.contact-detail .contact-icon img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  object-fit: contain;
}

.contact-detail > div:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.contact-detail span {
  margin-bottom: 6px;
  color: #a44845;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-detail h3 {
  margin-bottom: 7px;
  font-size: 1.15rem;
}

.contact-detail p,
.contact-detail a {
  margin: 0;
  color: var(--brand-red);
  font-size: 0.78rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.contact-detail p {
  color: var(--grey);
  font-weight: 400;
}

.contact-detail a:hover {
  color: #a44845;
}

.contact-detail small {
  margin-top: 6px;
  color: #8f8886;
  font-size: 0.61rem;
}

.whatsapp-qr-panel {
  position: relative;
  overflow: hidden;
  padding: 48px;
  color: var(--white);
  border: 1px solid rgba(194, 106, 100, 0.34);
  border-top: 3px solid var(--accent);
  border-radius: 22px;
  background:
    linear-gradient(125deg, rgba(164, 72, 69, 0.94), rgba(100, 40, 37, 0.985)),
    url("../images/legal-pattern.svg") center / 330px;
  box-shadow: 0 32px 80px rgba(100, 40, 37, 0.22), inset 0 1px 0 rgba(250, 248, 245, 0.12);
}

.whatsapp-qr-panel::before {
  position: absolute;
  top: -160px;
  right: -100px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(250, 248, 245, 0.08);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 106, 100, 0.16), transparent 68%);
  content: "";
  pointer-events: none;
}

.whatsapp-qr-header {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-bottom: 34px;
}

.whatsapp-qr-header .eyebrow {
  margin-bottom: 12px;
}

.whatsapp-qr-header h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.whatsapp-qr-header > p:last-child {
  max-width: 680px;
  margin: 0;
  color: rgba(250, 248, 245, 0.66);
}

.whatsapp-qr-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.whatsapp-qr-card {
  display: flex;
  min-width: 0;
  padding: 32px;
  flex-direction: column;
  border: 1px solid rgba(194, 106, 100, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(rgba(250, 248, 245, 0.96), rgba(250, 248, 245, 0.9)) padding-box,
    linear-gradient(135deg, rgba(194, 106, 100, 0.72), rgba(250, 248, 245, 0.2) 45%, rgba(164, 72, 69, 0.2)) border-box;
  box-shadow: 0 18px 44px rgba(58, 8, 8, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 600ms ease, border-color 600ms ease;
}

.whatsapp-qr-card:hover {
  border-color: rgba(194, 106, 100, 0.68);
  box-shadow: 0 26px 60px rgba(58, 8, 8, 0.28), 0 0 32px rgba(194, 106, 100, 0.08);
  transform: translateY(-6px);
}

.whatsapp-qr-card-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
}

.whatsapp-qr-card-heading > img {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 9px;
  object-fit: cover;
}

.whatsapp-qr-card-heading > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.whatsapp-qr-card-heading span {
  margin-bottom: 3px;
  color: #a44845;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.whatsapp-qr-card-heading strong {
  color: var(--brand-red);
  font-family: var(--heading);
  font-size: 1.35rem;
}

.qr-code-frame {
  width: min(230px, 76%);
  margin: 0 auto 22px;
  padding: 12px;
  border: 1px solid rgba(194, 106, 100, 0.32);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 16px 36px rgba(100, 40, 37, 0.16), 0 0 0 5px rgba(194, 106, 100, 0.055);
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 600ms ease;
}

.whatsapp-qr-card:hover .qr-code-frame {
  box-shadow: 0 20px 44px rgba(100, 40, 37, 0.2), 0 0 0 5px rgba(194, 106, 100, 0.09);
  transform: translateY(-3px);
}

.qr-code-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.whatsapp-qr-card > p {
  max-width: 440px;
  margin: 0 auto 24px;
  color: var(--grey);
  font-size: 0.78rem;
  line-height: 1.75;
  text-align: center;
}

.whatsapp-qr-card .button {
  margin-top: auto;
}

.whatsapp-qr-panel > .confidential-note {
  position: relative;
  z-index: 1;
  justify-content: center;
  margin-top: 26px;
}

.confidential-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.62rem;
  line-height: 1.5;
}

.confidential-note svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.office-visit {
  display: grid;
  min-height: 665px;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
}

.office-visual {
  padding: 0;
  overflow: hidden;
  display: block;
  background: none;
}

.office-visual iframe {
  width: 100%;
  height: 100%;
  min-height: 620px;
  border: 0;
  display: block;
}

.office-content {
  display: flex;
  max-width: 690px;
  justify-content: center;
  flex-direction: column;
  padding: 80px 9%;
}

.office-content h2 {
  max-width: 600px;
}

.office-content > p:not(.eyebrow) {
  max-width: 590px;
}

.office-meta {
  display: grid;
  margin: 30px 0;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.office-meta > div {
  padding: 20px 14px 20px 0;
}

.office-meta > div:not(:last-child) {
  border-right: 1px solid var(--border);
}

.office-meta > div:not(:first-child) {
  padding-left: 18px;
}

.office-meta span,
.office-meta strong {
  display: block;
}

.office-meta span {
  margin-bottom: 5px;
  color: #a44845;
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.office-meta strong {
  color: var(--brand-red);
  font-family: var(--heading);
  font-size: 0.94rem;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  color: var(--brand-red);
  border-bottom: 1px solid var(--accent);
  font-size: 0.77rem;
  font-weight: 600;
}

.text-link svg {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  color: var(--accent);
}

.contact-cta-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
}

.contact-cta h2 {
  max-width: 700px;
  margin-bottom: 0;
}

.cta-seal {
  width: 110px;
  height: 110px;
}

.cta-seal svg {
  width: 82px;
  height: 82px;
  fill: none;
  stroke: rgba(194, 106, 100, 0.75);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--reveal-delay, 0ms) ease, transform 800ms var(--reveal-delay, 0ms) cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Premium motion, ambient detail, and presentation enhancements. */
body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 84% 24%, rgba(194, 106, 100, 0.055), transparent 25rem),
    radial-gradient(circle at 12% 78%, rgba(164, 72, 69, 0.045), transparent 30rem);
  content: "";
  pointer-events: none;
}

body::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(100, 40, 37, 0.018) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(25deg, rgba(194, 106, 100, 0.012) 0 1px, transparent 1px 13px);
  content: "";
  opacity: 0.55;
  pointer-events: none;
}

.page-load-bar {
  position: fixed;
  z-index: 3000;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-soft), transparent);
  box-shadow: 0 0 18px rgba(194, 106, 100, 0.35);
  transform-origin: left;
  animation: loadBar 950ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  pointer-events: none;
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(194, 106, 100, 0.55), transparent 95%);
  content: "";
  opacity: 0.45;
  transition: opacity 400ms ease;
}

.site-header.scrolled::after {
  opacity: 0.9;
}

.site-header.scrolled .header-inner {
  transform: translateY(-1px);
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  box-shadow: none;
  transform: none;
}

.button::before {
  position: absolute;
  z-index: -1;
  top: -80%;
  bottom: -80%;
  left: -45%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(250, 248, 245, 0.7), transparent);
  content: "";
  opacity: 0;
  transform: skewX(-18deg);
  transition: left 850ms cubic-bezier(0.22, 1, 0.36, 1), opacity 250ms ease;
}

.button:hover::before,
.button:focus-visible::before {
  left: 115%;
  opacity: 0.72;
}

.button:focus-visible,
.primary-nav a:focus-visible,
.premium-contact-button:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 4px;
}

.section-heading h2,
.page-hero h1,
.practice-preview h2,
.consultation-banner h2,
.contact-cta h2 {
  position: relative;
  padding-bottom: 22px;
}

.section-heading h2::after,
.page-hero h1::after,
.practice-preview h2::after,
.consultation-banner h2::after,
.contact-cta h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 76px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(194, 106, 100, 0.08));
  box-shadow: 0 0 16px rgba(194, 106, 100, 0.22);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.revealed h2::after,
.page-hero-content.revealed h1::after,
.practice-preview-inner.revealed h2::after,
.consultation-banner-inner.revealed h2::after,
.contact-cta-inner.revealed h2::after {
  transform: scaleX(1);
}

.section-heading-centered h2::after {
  left: 50%;
  transform-origin: center;
  translate: -50% 0;
}

.ambient-legal {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient-legal > * {
  position: absolute;
  color: rgba(194, 106, 100, 0.045);
  filter: drop-shadow(0 0 24px rgba(194, 106, 100, 0.04));
  will-change: transform;
}

.ambient-scale {
  top: 28%;
  right: -32px;
  width: clamp(8rem, 16vw, 15rem);
  height: clamp(8rem, 16vw, 15rem);
  fill: none;
  stroke: currentColor;
  animation: ambientFloat 16s ease-in-out infinite;
}

.ambient-pillar {
  bottom: 12%;
  left: 3%;
  width: clamp(7rem, 12vw, 12rem);
  height: clamp(7rem, 12vw, 12rem);
  fill: none;
  stroke: currentColor;
  animation: ambientFloat 20s 2s ease-in-out infinite reverse;
}

.ambient-ring {
  top: 62%;
  right: 10%;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(194, 106, 100, 0.06);
  border-radius: 50%;
  animation: ambientPulse 10s ease-in-out infinite;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.hero::after,
.page-hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.025), transparent 35%),
    radial-gradient(circle at 68% 46%, rgba(194, 106, 100, 0.075), transparent 22%),
    linear-gradient(180deg, transparent 70%, rgba(100, 40, 37, 0.22));
  content: "";
  pointer-events: none;
}

.hero-grid,
.page-hero-content {
  z-index: 3;
}

.luxury-particles {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.luxury-particle {
  position: absolute;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: rgba(194, 106, 100, var(--opacity));
  box-shadow: 0 0 14px rgba(194, 106, 100, 0.12);
  animation: particleDrift var(--duration) var(--delay) ease-in-out infinite alternate;
}

.counsel-card,
.feature-card,
.practice-card,
.contact-detail,
.statement-card {
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.feature-card,
.contact-detail {
  position: relative;
  overflow: hidden;
  border-color: transparent;
  background:
    linear-gradient(rgba(250, 248, 245, 0.76), rgba(250, 248, 245, 0.66)) padding-box,
    linear-gradient(135deg, rgba(194, 106, 100, 0.64), rgba(250, 248, 245, 0.25) 38%, rgba(244, 244, 244, 0.48) 66%, rgba(164, 72, 69, 0.16)) border-box;
  background-size: 100% 100%, 220% 220%;
}

.feature-card,
.practice-card,
.contact-detail,
.process-step,
.premium-contact-button {
  will-change: transform;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 600ms ease, border-color 600ms ease, background-color 600ms ease;
}

.feature-card:hover,
.practice-card:hover,
.contact-detail:hover {
  box-shadow: 0 26px 64px rgba(100, 40, 37, 0.14), 0 0 32px rgba(194, 106, 100, 0.055);
  transform: translateY(-7px);
  animation: premiumBorderFlow 4.8s ease-in-out infinite alternate;
}

.feature-card::before,
.contact-detail::before {
  position: absolute;
  top: 0;
  left: 24px;
  width: 54px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  content: "";
  transition: width 500ms ease;
}

.feature-card:hover::before,
.contact-detail:hover::before {
  width: 92px;
}

.trust-stats {
  position: relative;
  z-index: 5;
  margin-top: -1px;
  padding: 0;
  background: var(--brand-red-deep);
}

.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(194, 106, 100, 0.24);
  border-bottom: 1px solid rgba(194, 106, 100, 0.18);
  background: rgba(250, 248, 245, 0.035);
  backdrop-filter: blur(18px);
}

.trust-stat {
  position: relative;
  padding: 34px 28px;
  text-align: center;
}

.trust-stat:not(:last-child)::after {
  position: absolute;
  top: 24%;
  right: 0;
  width: 1px;
  height: 52%;
  background: linear-gradient(transparent, rgba(194, 106, 100, 0.35), transparent);
  content: "";
}

.trust-stat strong {
  display: flex;
  align-items: baseline;
  justify-content: center;
  color: var(--white);
  font-family: var(--heading);
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 600;
  line-height: 1;
}

.trust-stat strong > span:not(.counter) {
  margin-left: 2px;
  color: var(--accent);
  font-size: 0.55em;
}

.trust-stat p {
  margin: 10px 0 0;
  color: rgba(250, 248, 245, 0.58);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.premium-contact-actions {
  display: grid;
  margin: 0 0 34px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.premium-contact-button {
  position: relative;
  display: flex;
  min-height: 92px;
  align-items: center;
  gap: 15px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 15px;
  background:
    linear-gradient(rgba(250, 248, 245, 0.78), rgba(250, 248, 245, 0.68)) padding-box,
    linear-gradient(135deg, rgba(194, 106, 100, 0.68), rgba(250, 248, 245, 0.2) 40%, rgba(244, 244, 244, 0.44) 68%, rgba(164, 72, 69, 0.16)) border-box;
  background-size: 100% 100%, 220% 220%;
  box-shadow: 0 12px 30px rgba(164, 72, 69, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
}

.premium-contact-button::after {
  position: absolute;
  right: -30px;
  bottom: -45px;
  width: 105px;
  height: 105px;
  border: 1px solid rgba(194, 106, 100, 0.12);
  border-radius: 50%;
  content: "";
  transition: transform 600ms ease, border-color 600ms ease;
}

.premium-contact-button:hover {
  box-shadow: 0 24px 48px rgba(100, 40, 37, 0.14), 0 0 34px rgba(194, 106, 100, 0.07);
  transform: translateY(-5px);
  animation: premiumBorderFlow 4.8s ease-in-out infinite alternate;
}

.premium-contact-button:hover::after {
  border-color: rgba(194, 106, 100, 0.32);
  transform: scale(1.2);
}

.premium-contact-button img {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 8px;
  object-fit: cover;
}

.premium-contact-button span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.premium-contact-button small {
  color: var(--grey);
  font-size: 0.56rem;
  letter-spacing: 0.04em;
}

.premium-contact-button strong {
  color: var(--brand-red);
  font-family: var(--heading);
  font-size: 1.05rem;
}

.practice-preview,
.consultation-banner,
.contact-cta,
.site-footer {
  background-attachment: fixed;
}

.tilt-card {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--lift, 0px));
}

.tilt-card:hover {
  --lift: -7px;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes loadBar {
  0% { opacity: 1; transform: scaleX(0); }
  70% { opacity: 1; transform: scaleX(0.88); }
  100% { opacity: 0; transform: scaleX(1); }
}

@keyframes ambientFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -18px, 0) rotate(2deg); }
}

@keyframes ambientPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes particleDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(var(--drift-x), var(--drift-y), 0); }
}

@keyframes premiumBorderFlow {
  from { background-position: 0 0, 0% 50%; }
  to { background-position: 0 0, 100% 50%; }
}

@media (max-width: 1080px) {
  :root {
    --header-height: 74px;
  }

  .container {
    width: min(calc(100% - 40px), var(--container));
  }

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

  .contact-layout {
    grid-template-columns: 1.2fr 0.72fr;
    gap: 30px;
  }

  .contact-details-grid {
    grid-template-columns: 1fr;
  }

  .contact-detail-wide {
    grid-column: auto;
  }

  .contact-method-personal {
    width: 100%;
    grid-column: auto;
    justify-self: stretch;
  }

  .office-meta {
    grid-template-columns: 1fr;
  }

  .office-meta > div:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .office-meta > div:not(:first-child) {
    padding-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1.35fr repeat(3, 1fr);
    gap: 30px;
  }

  .premium-contact-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 88px 0;
  }

  .intro-grid,
  .practice-intro-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

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

  .practice-card-wide {
    grid-column: auto;
  }

  .wide-card-content {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

  .process-step:nth-child(2) {
    border-right: 0;
  }

  .process-step:nth-child(-n+2) {
    border-bottom: 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .office-visit {
    grid-template-columns: 1fr;
  }

  .office-visual {
    min-height: 460px;
  }

  .contact-cta-inner {
    grid-template-columns: auto 1fr;
  }

  .contact-cta-inner .button {
    grid-column: 2;
    width: fit-content;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .trust-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-stat:nth-child(2)::after {
    display: none;
  }

  .trust-stat:nth-child(-n+2) {
    border-bottom: 1px solid rgba(194, 106, 100, 0.14);
  }

  .premium-contact-actions {
    grid-template-columns: repeat(3, 1fr);
  }

  .practice-preview,
  .consultation-banner,
  .contact-cta,
  .site-footer {
    background-attachment: scroll;
  }

  .footer-address {
    grid-column: 1 / -1;
  }
}

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

  body {
    font-size: 15px;
  }

  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 35px;
    height: 41px;
    flex-basis: 35px;
  }

  .brand-copy strong {
    font-size: 0.72rem;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .hero-lead {
    font-size: 0.9rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .trust-row {
    gap: 12px 16px;
    margin-top: 28px;
  }

  .trust-row span {
    font-size: 0.64rem;
  }

  .statement-card {
    min-height: 390px;
    padding: 46px 28px;
  }

  .statement-icon {
    margin-bottom: 34px;
  }

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

  .trust-stats-grid {
    grid-template-columns: 1fr;
  }

  .trust-stat {
    padding: 28px 20px;
  }

  .trust-stat:not(:last-child)::after {
    top: auto;
    right: 15%;
    bottom: 0;
    left: 15%;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(194, 106, 100, 0.3), transparent);
  }

  .trust-stat:nth-child(2)::after {
    display: block;
  }

  .trust-stat:nth-child(-n+2) {
    border-bottom: 0;
  }

  .premium-contact-actions {
    grid-template-columns: 1fr;
  }

  .premium-contact-button {
    min-height: 82px;
  }

  .whatsapp-qr-panel {
    padding: 30px 22px;
    border-radius: 18px;
  }

  .whatsapp-qr-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-qr-card {
    padding: 26px 22px;
  }

  .qr-code-frame {
    width: min(210px, 82%);
  }

  .ambient-scale {
    right: -60px;
    opacity: 0.6;
  }

  .ambient-pillar,
  .ambient-ring {
    display: none;
  }

  .feature-card {
    min-height: 275px;
  }

  .practice-preview-inner,
  .consultation-banner-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }

  .page-hero {
    min-height: 440px;
    padding-top: calc(var(--header-height) + 90px);
  }

  .page-hero h1 {
    font-size: 3.1rem;
  }

  .practice-card {
    min-height: 0;
    padding: 32px 24px 38px;
  }

  .practice-card-top > span {
    font-size: 3rem;
  }

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

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

  .process-step,
  .process-step:nth-child(-n+2) {
    min-height: 210px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .contact-detail {
    min-height: 0;
    padding: 24px 20px;
  }

  .office-visual {
    min-height: 370px;
  }

  .office-content {
    padding: 70px 24px;
  }

  .contact-cta-inner {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contact-cta-inner .button {
    grid-column: auto;
  }

  .cta-seal {
    display: none;
  }

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

  .footer-brand,
  .footer-address {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 390px) {
  .brand-mark {
    width: 32px;
    height: 38px;
    flex-basis: 32px;
  }

  .brand-copy strong {
    font-size: 0.66rem;
  }

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

  .footer-brand,
  .footer-address {
    grid-column: auto;
  }
}

/* Premium centered navbar and universal left-side navigation drawer. */
.site-header {
  position: fixed;
  z-index: 1400;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 0;
  background: rgba(250, 248, 245, 0.94);
  box-shadow: 0 10px 34px rgba(100, 40, 37, 0.08);
  transition: height var(--transition), background-color var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.site-header.scrolled {
  height: 72px;
  background: rgba(250, 248, 245, 0.98);
  box-shadow: 0 13px 40px rgba(100, 40, 37, 0.13);
}

.header-inner.container {
  position: relative;
  width: 100%;
  max-width: none;
  padding-right: 40px;
  padding-left: 31px;
  justify-content: flex-start;
}

.site-header .brand {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  gap: 14px;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.site-header .brand-mark {
  width: 51.6px;
  height: 60px;
  flex-basis: 51.6px;
}

.site-header .brand-copy strong {
  font-size: 1.056rem;
}

.site-header .brand:hover,
.site-header .brand:focus-visible {
  transform: translate(-50%, -50%);
}

.nav-toggle {
  position: relative;
  z-index: 1404;
  display: block;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  opacity: 1;
  transition: opacity 300ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-toggle:hover {
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0.72;
  transform: translateX(3px);
}

.nav-toggle:focus-visible {
  outline: 2px solid rgba(139, 30, 30, 0.72);
  outline-offset: 4px;
}

.nav-icon {
  position: absolute;
  inset: 8px;
  width: 32px;
  height: 32px;
  fill: none;
  color: #8b1e1e;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: opacity 300ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1), stroke 260ms ease;
}

.nav-icon-close {
  opacity: 0;
  transform: rotate(-45deg) scale(0.72);
}

.nav-toggle.active {
  border: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  transform: none;
}

.nav-toggle.active .nav-icon-menu {
  opacity: 0;
  transform: rotate(45deg) scale(0.72);
}

.nav-toggle.active .nav-icon-close {
  opacity: 1;
  color: var(--white);
  transform: rotate(0) scale(1);
}

.primary-nav {
  position: fixed;
  z-index: 1402;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(410px, 88vw);
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  flex-direction: column;
  gap: 8px;
  padding: 34px 32px 42px;
  overflow: hidden auto;
  border-right: 1px solid rgba(250, 248, 245, 0.13);
  background:
    radial-gradient(circle at 18% 7%, rgba(194, 106, 100, 0.22), transparent 16rem),
    linear-gradient(145deg, rgba(100, 40, 37, 0.985), rgba(76, 23, 21, 0.975));
  box-shadow: 30px 0 80px rgba(30, 8, 8, 0.28);
  opacity: 1;
  pointer-events: none;
  transform: translateX(-104%);
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.primary-nav::before {
  position: absolute;
  inset: 0;
  background: url("../images/legal-pattern.svg") center / 310px;
  content: "";
  opacity: 0.055;
  pointer-events: none;
}

.primary-nav::after {
  position: absolute;
  right: -96px;
  bottom: -118px;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(250, 248, 245, 0.07);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 34px rgba(250, 248, 245, 0.018), 0 0 0 68px rgba(250, 248, 245, 0.012);
  pointer-events: none;
}

.primary-nav.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.drawer-header {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 58px 88px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(250, 248, 245, 0.14);
}

.drawer-header > span {
  color: rgba(250, 248, 245, 0.62);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.primary-nav > a:not(.button),
.primary-nav .nav-cta {
  position: relative;
  z-index: 1;
  width: 100%;
  opacity: 0;
  transform: translateX(-22px);
  transition: color 260ms ease, background-color 260ms ease, border-color 260ms ease, transform 480ms cubic-bezier(0.22, 1, 0.36, 1), opacity 360ms ease;
}

.primary-nav.open > a:nth-of-type(1) { transition-delay: 150ms; }
.primary-nav.open > a:nth-of-type(2) { transition-delay: 210ms; }
.primary-nav.open > a:nth-of-type(3) { transition-delay: 270ms; }
.primary-nav.open > a:nth-of-type(4) { transition-delay: 330ms; }

.primary-nav.open > a {
  opacity: 1;
  transform: translateX(0);
}

.primary-nav > a:not(.button) {
  padding: 16px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: rgba(250, 248, 245, 0.82);
  font-family: var(--heading);
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.primary-nav > a:not(.button)::after {
  position: absolute;
  top: 50%;
  right: auto;
  bottom: auto;
  left: 0;
  width: 2px;
  height: 54%;
  background: var(--brand-red-soft);
  content: "";
  transform: translateY(-50%) scaleY(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.primary-nav > a:not(.button):hover,
.primary-nav > a.active:not(.button) {
  color: var(--white);
  border-color: rgba(194, 106, 100, 0.16);
  background: rgba(194, 106, 100, 0.095);
  transform: translateX(6px);
}

.primary-nav > a:not(.button):hover::after,
.primary-nav > a.active:not(.button)::after {
  transform: translateY(-50%) scaleY(1);
}

.primary-nav .nav-cta {
  min-height: 54px;
  justify-content: flex-start;
  margin-top: 24px;
  padding-inline: 18px;
  border-color: rgba(250, 248, 245, 0.18);
  color: var(--white);
  background: rgba(194, 106, 100, 0.26);
  box-shadow: none;
}

.primary-nav .nav-cta:hover {
  border-color: rgba(250, 248, 245, 0.32);
  background: var(--brand-red-soft);
  box-shadow: 0 14px 34px rgba(30, 8, 8, 0.2);
  transform: translateX(6px);
}

.nav-overlay {
  position: fixed;
  z-index: 1401;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(28, 12, 12, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.nav-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 620px) {
  .header-inner.container {
    padding-right: 18px;
    padding-left: 31px;
  }

  .site-header .brand {
    gap: 9.6px;
  }

  .site-header .brand-mark {
    width: 38.4px;
    height: 45.6px;
    flex-basis: 38.4px;
  }

  .site-header .brand-copy strong {
    font-size: 0.792rem;
  }

  .nav-toggle {
    width: 48px;
    height: 48px;
  }

  .nav-icon {
    inset: 8px;
    width: 32px;
    height: 32px;
  }

  .primary-nav {
    width: min(360px, 92vw);
    padding: 26px 24px 34px;
  }

  .drawer-header {
    min-height: 56px;
    margin: 0 0 42px 64px;
  }

  .primary-nav > a:not(.button) {
    padding: 14px 16px;
    font-size: 1.48rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .primary-nav,
  .primary-nav > a,
  .nav-overlay,
  .nav-icon {
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
}

.hero {
  min-height: 680px;
  padding: calc(var(--header-height) + 40px) 0 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(800px - var(--header-height) - 58px);
  align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: clamp(36px, 5vw, 78px);
}

.hero-copy {
  position: relative;
  z-index: 4;
  padding: 36px 0 106px;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  width: 100%;
  max-width: 540px;
  min-height: 560px;
  margin-left: auto;
}

.portrait-stage {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: visible;
}

.advocate-portrait {
  position: absolute;
  z-index: 2;
  right: -34px;
  bottom: 0;
  width: auto;
  max-width: none;
  height: 750px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 28px 34px rgba(30, 8, 8, 0.3));
  transform-origin: center bottom;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), filter 700ms ease;
}

.hero-visual:hover .advocate-portrait {
  filter: drop-shadow(0 32px 40px rgba(30, 8, 8, 0.34));
  transform: translateY(-4px);
}

.hero-visual .counsel-card {
  position: absolute;
  z-index: 10;
  right: auto;
  left: 52%;
  bottom: 20px;
  transform: translateX(-50%);
  width: min(325px, 82%);
  border-left-width: 2px;
  border-radius: 10px;
  background: rgba(250, 248, 245, 0.93);
  box-shadow: 0 18px 44px rgba(30, 8, 8, 0.18);
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
    gap: 34px;
  }

  .advocate-portrait {
    right: -54px;
    height: 700px;
  }

}

@media (max-width: 860px) {
  .hero {
    padding-top: calc(var(--header-height) + 48px);
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-copy {
    padding: 28px 0 12px;
  }

  .hero-visual {
    width: min(100%, 570px);
    min-height: 620px;
    margin: 0 auto;
  }

  .advocate-portrait {
    right: 50%;
    bottom: -92px;
    height: 690px;
    transform: translateX(50%);
  }

  .hero-visual:hover .advocate-portrait {
    transform: translateX(50%) translateY(-4px);
  }

  .hero-visual .counsel-card {
    right: auto;
    left: 50%;
    bottom: 92px;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 34px);
    padding-bottom: 70px;
  }

  .hero-copy {
    padding: 30px 0 18px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .advocate-portrait {
    bottom: -70px;
    height: 570px;
  }

  .hero-visual .counsel-card {
    position: absolute;
    right: auto;
    left: 50%;
    bottom: 92px;
    width: calc(100% - 28px);
    margin: 0;
    transform: translateX(-50%);
  }
}

@media (max-width: 390px) {
  .hero-visual {
    min-height: 480px;
  }

  .advocate-portrait {
    bottom: -58px;
    height: 520px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition-delay: 0ms !important;
  }

  .luxury-particles,
  .ambient-legal {
    display: none;
  }
}
