
:root {
  --navy-950: #07151d;
  --navy-900: #0a1d28;
  --navy-800: #102b39;
  --navy-700: #163949;
  --gold-500: #caa766;
  --gold-400: #d8bd83;
  --gold-300: #ead8ac;
  --cream-100: #f5f0e7;
  --cream-50: #faf8f3;
  --white: #ffffff;
  --ink: #16232a;
  --muted: #66727a;
  --line: rgba(20, 49, 63, 0.14);
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: Inter, "Segoe UI", Arial, sans-serif;
  --shadow: 0 30px 80px rgba(4, 19, 27, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--cream-50);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: var(--gold-400);
  color: var(--navy-950);
}

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

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

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.page-shell,
.nav-shell {
  margin: 0 auto;
  max-width: 1240px;
  width: calc(100% - 48px);
}

.section {
  padding: 116px 0;
}

.site-header {
  color: var(--cream-50);
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: background 0.35s ease, box-shadow 0.35s ease;
  z-index: 50;
}

.site-header.is-scrolled {
  background: rgba(7, 21, 29, 0.96);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
}

.nav-shell {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: 1fr auto auto;
  min-height: 86px;
}

.site-header.is-scrolled .nav-shell {
  border-color: transparent;
}

.brand,
.footer-brand {
  align-items: center;
  display: flex;
  gap: 15px;
  width: fit-content;
}

.brand-mark {
  align-items: center;
  border: 1px solid rgba(216, 189, 131, 0.6);
  color: var(--gold-400);
  display: inline-flex;
  font-family: var(--font-serif);
  font-size: 20px;
  height: 48px;
  justify-content: center;
  letter-spacing: -2px;
  position: relative;
  transform: rotate(45deg);
  width: 48px;
}

.brand-mark::after {
  border: 1px solid rgba(216, 189, 131, 0.25);
  content: "";
  inset: 4px;
  position: absolute;
}

.brand-mark > * ,
.brand-mark span {
  color: var(--gold-300);
}

.brand-mark {
  line-height: 1;
}

.brand-mark::first-letter {
  letter-spacing: 0;
}

.brand-mark,
.brand-mark span {
  writing-mode: horizontal-tb;
}

.brand-mark {
  text-orientation: mixed;
}

.brand-mark span {
  font-size: 13px;
  margin: 0 2px;
}

.brand-mark {
  transform: rotate(45deg);
}

.brand-mark > span,
.brand-mark {
  transform-origin: center;
}

.brand-mark {
  text-shadow: none;
}

.brand .brand-mark,
.footer-brand .brand-mark {
  rotate: 0deg;
}

.brand .brand-mark,
.footer-brand .brand-mark {
  transform: rotate(45deg);
}

.brand .brand-mark::before,
.footer-brand .brand-mark::before {
  content: "M&A";
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: -1px;
  position: absolute;
  transform: rotate(-45deg);
}

.brand .brand-mark,
.footer-brand .brand-mark {
  color: transparent;
}

.brand .brand-mark span,
.footer-brand .brand-mark span {
  display: none;
}

.brand-copy,
.footer-brand > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-copy strong,
.footer-brand strong {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.brand-copy small,
.footer-brand small {
  color: var(--gold-400);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: 30px;
  margin-right: 34px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  position: relative;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.main-nav a::after {
  background: var(--gold-400);
  bottom: -10px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  width: 100%;
}

.main-nav a:hover {
  color: var(--white);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  align-items: center;
  background: var(--gold-500);
  color: var(--navy-950);
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  gap: 9px;
  height: 42px;
  justify-content: center;
  letter-spacing: 0.1em;
  min-width: 132px;
  text-transform: uppercase;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-cta:hover {
  background: var(--gold-300);
  transform: translateY(-2px);
}

.nav-cta svg {
  height: 18px;
  width: 18px;
}

.menu-toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  height: 44px;
  padding: 0;
  position: relative;
  width: 44px;
}

.menu-toggle span {
  background: var(--cream-50);
  height: 1px;
  left: 10px;
  position: absolute;
  transition: transform 0.25s ease, top 0.25s ease;
  width: 24px;
}

.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle.is-open span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle.is-open span:last-child { top: 22px; transform: rotate(-45deg); }

.hero {
  background:
    linear-gradient(rgba(202, 167, 102, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(202, 167, 102, 0.035) 1px, transparent 1px),
    var(--navy-950);
  background-size: 72px 72px;
  color: var(--cream-50);
  min-height: 790px;
  overflow: hidden;
  padding-top: 86px;
  position: relative;
}

.hero::before {
  border: 1px solid rgba(216, 189, 131, 0.12);
  content: "";
  height: 520px;
  position: absolute;
  right: -185px;
  top: 110px;
  transform: rotate(45deg);
  width: 520px;
}

.hero::after {
  border: 1px solid rgba(216, 189, 131, 0.07);
  content: "";
  height: 430px;
  position: absolute;
  right: -116px;
  top: 155px;
  transform: rotate(45deg);
  width: 430px;
}

.hero-glow {
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
  position: absolute;
}

.hero-glow-one {
  background: radial-gradient(circle, rgba(26, 75, 93, 0.7), transparent 68%);
  height: 760px;
  left: -300px;
  top: -180px;
  width: 760px;
}

.hero-glow-two {
  background: radial-gradient(circle, rgba(202, 167, 102, 0.08), transparent 68%);
  bottom: -280px;
  height: 690px;
  right: 10%;
  width: 690px;
}

.hero-rule {
  background: linear-gradient(transparent, rgba(216, 189, 131, 0.32), transparent);
  height: 62%;
  left: calc(50% + 72px);
  position: absolute;
  top: 20%;
  width: 1px;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 110px;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.78fr);
  min-height: 630px;
  padding-bottom: 54px;
  padding-top: 70px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  align-items: center;
  color: var(--gold-400);
  display: flex;
  font-size: 11px;
  font-weight: 700;
  gap: 12px;
  letter-spacing: 0.24em;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.eyebrow span {
  background: var(--gold-500);
  height: 1px;
  width: 44px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(58px, 6.25vw, 92px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
  margin: 0;
  max-width: 750px;
}

.hero h1 em {
  color: var(--gold-400);
  display: block;
  font-size: 0.69em;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-top: 20px;
  text-transform: uppercase;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.75;
  margin: 36px 0 0;
  max-width: 620px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 42px;
}

.button {
  align-items: center;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  gap: 24px;
  justify-content: center;
  letter-spacing: 0.11em;
  min-height: 54px;
  padding: 0 26px;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.button svg {
  height: 17px;
  transition: transform 0.25s ease;
  width: 17px;
}

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

.button:hover svg {
  transform: translateX(4px);
}

.button-gold {
  background: var(--gold-500);
  color: var(--navy-950);
}

.button-gold:hover {
  background: var(--gold-300);
}

.text-link {
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-link span {
  color: var(--gold-400);
  font-size: 18px;
}

.hero-card {
  background: rgba(15, 43, 56, 0.72);
  border: 1px solid rgba(216, 189, 131, 0.28);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
  padding: 38px;
  position: relative;
  backdrop-filter: blur(12px);
}

.hero-card::before,
.hero-card::after {
  content: "";
  height: 34px;
  position: absolute;
  width: 34px;
}

.hero-card::before {
  border-left: 2px solid var(--gold-500);
  border-top: 2px solid var(--gold-500);
  left: -1px;
  top: -1px;
}

.hero-card::after {
  border-bottom: 2px solid var(--gold-500);
  border-right: 2px solid var(--gold-500);
  bottom: -1px;
  right: -1px;
}

.hero-card-top {
  align-items: flex-start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  padding-bottom: 26px;
}

.hero-card-label {
  color: var(--gold-400);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-card-count {
  color: rgba(255, 255, 255, 0.16);
  font-family: var(--font-serif);
  font-size: 58px;
  line-height: 0.8;
}

.area-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 30px 0 34px;
}

.area-cloud span {
  border: 1px solid rgba(255, 255, 255, 0.17);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-serif);
  font-size: 15px;
  padding: 10px 14px;
}

.hero-card-location {
  align-items: center;
  background: rgba(7, 21, 29, 0.55);
  display: flex;
  gap: 15px;
  padding: 18px;
}

.hero-card-location svg {
  color: var(--gold-400);
  flex: 0 0 auto;
  height: 25px;
  width: 25px;
}

.hero-card-location p {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.35;
  margin: 0;
}

.hero-card-location small {
  color: rgba(255, 255, 255, 0.52);
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.05em;
  margin-top: 5px;
}

.hero-footer {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  font-size: 10px;
  justify-content: space-between;
  letter-spacing: 0.1em;
  min-height: 74px;
  position: relative;
  text-transform: uppercase;
  z-index: 2;
}

.hero-footer p { margin: 0; }
.hero-footer span { color: var(--gold-400); font-weight: 700; }

.section-number {
  color: rgba(10, 29, 40, 0.22);
  display: block;
  font-family: var(--font-serif);
  font-size: 13px;
  margin-bottom: 25px;
}

.section-number.light { color: rgba(255, 255, 255, 0.3); }

.overline {
  color: #997844;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.25em;
  margin: 0 0 19px;
  text-transform: uppercase;
}

.overline.light { color: var(--gold-400); }

.section-heading h2,
.section-header h2,
.services h2,
.location h2,
.contact h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  margin: 0;
}

.intro {
  background: var(--cream-50);
}

.intro-grid {
  display: grid;
  gap: 100px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.section-heading h2 {
  font-size: clamp(42px, 4.3vw, 65px);
  line-height: 1.07;
  max-width: 540px;
}

.intro-copy > p {
  border-left: 1px solid var(--gold-500);
  font-family: var(--font-serif);
  font-size: 25px;
  line-height: 1.6;
  margin: 63px 0 0;
  padding-left: 34px;
}

.intro-copy > p strong { font-weight: 400; color: #9a7338; }

.intro-meta {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: 1.4fr 0.6fr;
  margin-top: 52px;
  padding-top: 28px;
}

.intro-meta span {
  color: var(--muted);
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.intro-meta p,
.intro-meta a {
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

.intro-meta a { color: #8e6d38; font-weight: 700; }

.practice {
  background: #ede7dc;
}

.section-header {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 66px;
}

.section-header h2 {
  font-size: clamp(46px, 5vw, 72px);
}

.section-header > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 8px;
  max-width: 330px;
}

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

.practice-card {
  background: var(--cream-50);
  min-height: 340px;
  overflow: hidden;
  padding: 32px;
  position: relative;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.practice-card::after {
  border: 1px solid rgba(202, 167, 102, 0.25);
  content: "";
  height: 120px;
  position: absolute;
  right: -74px;
  top: -74px;
  transform: rotate(45deg);
  transition: border-color 0.3s ease, transform 0.4s ease;
  width: 120px;
}

.practice-card:hover {
  background: var(--navy-900);
  color: var(--cream-50);
  transform: translateY(-6px);
  z-index: 2;
}

.practice-card:hover::after {
  border-color: rgba(216, 189, 131, 0.48);
  transform: rotate(45deg) scale(1.2);
}

.card-top {
  align-items: center;
  display: flex;
  gap: 15px;
}

.card-top > span:first-child {
  color: #98743b;
  font-family: var(--font-serif);
  font-size: 13px;
}

.card-line {
  background: var(--gold-500);
  height: 1px;
  width: 28px;
}

.practice-card h3 {
  font-family: var(--font-serif);
  font-size: 35px;
  font-weight: 400;
  margin: 65px 0 15px;
}

.practice-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  min-height: 66px;
  transition: color 0.3s ease;
}

.practice-card:hover p { color: rgba(255, 255, 255, 0.62); }

.practice-card a {
  align-items: center;
  bottom: 32px;
  color: #8f6a33;
  display: flex;
  font-size: 10px;
  font-weight: 800;
  gap: 12px;
  letter-spacing: 0.16em;
  position: absolute;
  text-transform: uppercase;
}

.practice-card a svg { height: 14px; width: 14px; }
.practice-card:hover a { color: var(--gold-400); }

.practice-card:last-child {
  grid-column: 2 / 3;
}

.services {
  background: var(--navy-900);
  color: var(--cream-50);
  overflow: hidden;
  position: relative;
}

.services::before {
  background: linear-gradient(90deg, transparent, rgba(202, 167, 102, 0.12), transparent);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  top: 50%;
  width: 100%;
}

.services-grid {
  display: grid;
  gap: 100px;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  position: relative;
  z-index: 2;
}

.services-panel {
  min-height: 600px;
  position: relative;
}

.services h2 {
  font-size: clamp(48px, 5vw, 72px);
  max-width: 400px;
}

.services-panel > p:not(.overline) {
  color: rgba(255, 255, 255, 0.58);
  font-size: 15px;
  line-height: 1.75;
  margin: 28px 0 38px;
  max-width: 350px;
}

.button-outline {
  border: 1px solid rgba(216, 189, 131, 0.6);
  color: var(--gold-300);
}

.button-outline:hover {
  background: var(--gold-500);
  color: var(--navy-950);
}

.services-monogram {
  bottom: -60px;
  color: rgba(255, 255, 255, 0.025);
  font-family: var(--font-serif);
  font-size: 220px;
  left: -55px;
  letter-spacing: -0.12em;
  position: absolute;
  white-space: nowrap;
}

.services-monogram span {
  color: rgba(202, 167, 102, 0.05);
  font-size: 0.55em;
}

.service-list {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.service-list a {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  display: grid;
  gap: 28px;
  grid-template-columns: 34px 1fr 24px;
  min-height: 78px;
  padding: 0 14px;
  transition: background 0.25s ease, padding 0.25s ease;
}

.service-list a:hover {
  background: rgba(255, 255, 255, 0.045);
  padding-left: 24px;
}

.service-list span {
  color: var(--gold-400);
  font-family: var(--font-serif);
  font-size: 12px;
}

.service-list strong {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
}

.service-list svg {
  color: var(--gold-400);
  height: 17px;
  transition: transform 0.25s ease;
  width: 17px;
}

.service-list a:hover svg { transform: translateX(5px); }

.location {
  background: var(--cream-100);
}

.location-shell {
  align-items: center;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 38px;
  grid-template-columns: auto 1fr auto;
  padding-bottom: 58px;
  padding-top: 58px;
}

.location-mark {
  align-items: center;
  background: var(--navy-900);
  color: var(--gold-400);
  display: flex;
  height: 82px;
  justify-content: center;
  transform: rotate(45deg);
  width: 82px;
}

.location-mark svg {
  height: 32px;
  transform: rotate(-45deg);
  width: 32px;
}

.location h2 {
  font-size: clamp(38px, 4.4vw, 62px);
}

.location-shell > div:nth-child(2) > p:last-child {
  color: var(--muted);
  font-size: 14px;
  margin: 13px 0 0;
}

.button-dark {
  background: var(--navy-900);
  color: var(--cream-50);
}

.button-dark:hover {
  background: var(--navy-700);
}

.contact {
  background: var(--navy-950);
  color: var(--cream-50);
  position: relative;
}

.contact::before {
  background:
    linear-gradient(rgba(202, 167, 102, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(202, 167, 102, 0.03) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.contact-grid {
  display: grid;
  gap: 100px;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  position: relative;
}

.contact h2 {
  font-size: clamp(50px, 5vw, 72px);
  line-height: 1.04;
}

.contact-copy > p:not(.overline) {
  color: rgba(255, 255, 255, 0.58);
  font-size: 15px;
  line-height: 1.75;
  margin: 28px 0 38px;
  max-width: 390px;
}

.contact-number {
  align-items: center;
  color: var(--gold-400);
  display: inline-flex;
  font-family: var(--font-serif);
  font-size: 25px;
  gap: 13px;
}

.contact-number svg { height: 26px; width: 26px; }

.contact-form {
  background: var(--cream-50);
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: 42px;
}

.contact-form label {
  display: block;
  margin-bottom: 24px;
}

.contact-form label > span {
  color: #725a37;
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(16, 43, 57, 0.23);
  border-radius: 0;
  color: var(--ink);
  outline: none;
  padding: 12px 0;
  transition: border-color 0.25s ease;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold-500);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9ba1a3;
}

.form-submit {
  width: 100%;
}

.site-footer {
  background: #041017;
  color: rgba(255, 255, 255, 0.56);
  padding: 64px 0 26px;
}

.footer-grid {
  align-items: center;
  display: grid;
  gap: 45px;
  grid-template-columns: 1fr 1fr auto;
}

.footer-brand { color: var(--cream-50); }

.footer-grid > p {
  font-size: 12px;
  line-height: 1.75;
  margin: 0;
  max-width: 340px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.footer-links a:hover { color: var(--gold-400); }

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  font-size: 9px;
  justify-content: space-between;
  letter-spacing: 0.1em;
  margin-top: 50px;
  padding-top: 24px;
  text-transform: uppercase;
}

.footer-bottom a { color: var(--gold-400); font-weight: 700; }

.whatsapp-float {
  align-items: center;
  background: #1e9b5b;
  bottom: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  color: var(--white);
  display: flex;
  font-size: 10px;
  font-weight: 800;
  gap: 9px;
  letter-spacing: 0.1em;
  padding: 13px 17px;
  position: fixed;
  right: 24px;
  text-transform: uppercase;
  transition: background 0.25s ease, transform 0.25s ease;
  z-index: 40;
}

.whatsapp-float:hover {
  background: #177d49;
  transform: translateY(-3px);
}

.whatsapp-float svg { height: 23px; width: 23px; }

.back-top {
  align-items: center;
  background: var(--cream-50);
  border: 1px solid rgba(7, 21, 29, 0.2);
  bottom: 24px;
  color: var(--navy-900);
  cursor: pointer;
  display: flex;
  height: 42px;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 150px;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  width: 42px;
  z-index: 39;
}

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

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  animation: reveal-up 0.7s ease both;
}

@keyframes reveal-up {
  from {
    opacity: 0.35;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.practice-card:nth-child(2),
.service-list.reveal {
  transition-delay: 0.08s;
}

.practice-card:nth-child(3) { transition-delay: 0.16s; }
.practice-card:nth-child(4) { transition-delay: 0.05s; }
.practice-card:nth-child(5) { transition-delay: 0.11s; }
.practice-card:nth-child(6) { transition-delay: 0.17s; }

@media (max-width: 1080px) {
  .main-nav { gap: 20px; margin-right: 22px; }
  .main-nav a { font-size: 10px; }
  .hero-grid { gap: 60px; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr); }
  .hero-rule { display: none; }
  .services-grid,
  .contact-grid { gap: 60px; }
}

@media (max-width: 900px) {
  .page-shell,
  .nav-shell { width: calc(100% - 36px); }

  .section { padding: 90px 0; }

  .nav-shell { grid-template-columns: 1fr auto auto; }
  .menu-toggle { display: block; margin-right: 8px; }
  .main-nav {
    align-items: stretch;
    background: var(--navy-950);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    gap: 0;
    left: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 18px;
    position: absolute;
    right: 0;
    top: 86px;
    transition: max-height 0.35s ease, padding 0.35s ease;
  }
  .main-nav.is-open { max-height: 390px; padding-bottom: 18px; padding-top: 18px; }
  .main-nav a { border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 11px; padding: 16px 4px; }
  .main-nav a::after { display: none; }

  .hero { min-height: auto; }
  .hero-grid { gap: 55px; grid-template-columns: 1fr; padding-bottom: 70px; padding-top: 105px; }
  .hero-copy { max-width: 720px; }
  .hero h1 { font-size: clamp(58px, 10vw, 86px); }
  .hero-card { max-width: 610px; }
  .hero-footer { gap: 20px; }

  .intro-grid { gap: 45px; grid-template-columns: 1fr; }
  .intro-copy > p { margin-top: 0; }
  .section-header { align-items: flex-start; flex-direction: column; gap: 22px; }
  .practice-grid { grid-template-columns: 1fr 1fr; }
  .practice-card:last-child { grid-column: auto; }

  .services-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .services-panel { min-height: 440px; }
  .services-monogram { bottom: -70px; }
  .contact-copy { padding-bottom: 10px; }

  .location-shell { grid-template-columns: auto 1fr; }
  .location-shell .button { grid-column: 2; width: fit-content; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-links { justify-self: start; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 74px; }
  .page-shell,
  .nav-shell { width: calc(100% - 28px); }
  .section { padding: 72px 0; }

  .nav-shell { min-height: 74px; }
  .brand { gap: 11px; }
  .brand-mark { height: 39px; width: 39px; }
  .brand .brand-mark::before,
  .footer-brand .brand-mark::before { font-size: 15px; }
  .brand-copy strong { font-size: 15px; }
  .brand-copy small { font-size: 7px; }
  .nav-cta { min-width: 44px; width: 44px; }
  .nav-cta span { display: none; }
  .main-nav { top: 74px; }

  .hero { padding-top: 74px; }
  .hero::before { right: -370px; }
  .hero-grid { gap: 42px; min-height: auto; padding-bottom: 54px; padding-top: 72px; }
  .eyebrow { margin-bottom: 25px; }
  .hero h1 { font-size: clamp(48px, 15.3vw, 68px); letter-spacing: -0.06em; }
  .hero h1 em { font-size: 0.55em; letter-spacing: 0.1em; margin-top: 15px; }
  .hero-lead { font-size: 15px; line-height: 1.7; margin-top: 28px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 20px; margin-top: 32px; }
  .hero-actions .button { width: 100%; }
  .text-link { justify-content: center; }
  .hero-card { padding: 26px; }
  .hero-card-count { font-size: 48px; }
  .area-cloud { gap: 7px; padding: 24px 0 28px; }
  .area-cloud span { font-size: 13px; padding: 8px 10px; }
  .hero-card-location { padding: 15px; }
  .hero-footer { align-items: flex-start; flex-direction: column; padding-bottom: 22px; padding-top: 22px; }
  .hero-footer p { line-height: 1.7; }

  .section-heading h2,
  .section-header h2,
  .services h2,
  .contact h2 { font-size: 43px; }
  .intro-copy > p { font-size: 21px; padding-left: 22px; }
  .intro-meta { grid-template-columns: 1fr; }

  .practice-grid { display: block; }
  .practice-card { margin-bottom: 1px; min-height: 310px; padding: 28px; }
  .practice-card h3 { font-size: 32px; margin-top: 52px; }

  .services-grid,
  .contact-grid { gap: 46px; }
  .services-panel { min-height: 390px; }
  .service-list a { gap: 15px; grid-template-columns: 28px 1fr 18px; min-height: 72px; padding: 0 5px; }
  .service-list strong { font-size: 19px; }
  .services-monogram { font-size: 160px; }

  .location-shell { grid-template-columns: 1fr; padding: 48px 0; }
  .location-mark { height: 65px; margin: 8px 0 18px 10px; width: 65px; }
  .location h2 { font-size: 39px; }
  .location-shell .button { grid-column: auto; width: 100%; }

  .contact-form { padding: 28px 22px; }
  .form-row { display: block; }
  .contact-number { font-size: 22px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 18px; line-height: 1.7; }

  .whatsapp-float { border-radius: 50%; bottom: 16px; height: 54px; justify-content: center; padding: 0; right: 16px; width: 54px; }
  .whatsapp-float span { display: none; }
  .back-top { bottom: 22px; right: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
