@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500;1,600&family=Manrope:wght@400;500;600&display=swap");

:root {
  --ink: #17202b;
  --ink-deep: #111820;
  --charcoal: #24292d;
  --bronze: #9b815c;
  --bronze-light: #c8b392;
  --ivory: #f3f1eb;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: #ded9cf;
  --muted: #696d6f;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", Arial, Helvetica, sans-serif;
  --shadow: 0 20px 60px rgba(19, 27, 35, 0.12);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

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

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

.section {
  padding-block: 120px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.topbar {
  color: rgba(255, 255, 255, 0.76);
  background: var(--ink-deep);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
}

.topbar p,
.topbar a {
  margin: 0;
}

.topbar a {
  transition: color 180ms ease;
}

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

.topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-links span {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.22);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(23, 32, 43, 0.09);
  background: rgba(251, 250, 247, 0.95);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--bronze);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  width: 8px;
  height: 8px;
  content: "";
}

.brand-mark::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.brand-mark::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.brand-mark span:first-child {
  transform: translate(-4px, -3px);
}

.brand-mark span:last-child {
  position: absolute;
  transform: translate(7px, 7px);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-copy strong {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.main-nav,
.nav-links {
  display: flex;
  align-items: center;
}

.main-nav {
  gap: 34px;
}

.nav-links {
  gap: 28px;
}

.nav-links a {
  position: relative;
  padding-block: 9px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  color: var(--white);
  background: var(--ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.header-cta:hover {
  color: var(--ink);
  background: transparent;
}

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

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 7px auto;
  background: var(--ink);
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 654px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 38%, rgba(243, 241, 235, 0.92) 58%, var(--ivory) 100%),
    linear-gradient(135deg, var(--paper) 0%, var(--ivory) 100%);
}

.hero::before {
  position: absolute;
  right: 0;
  bottom: -110px;
  width: 38%;
  height: 70%;
  border-top: 1px solid rgba(155, 129, 92, 0.14);
  content: "";
  transform: skewY(-12deg);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 53% 47%;
  min-height: 654px;
}

.hero-photo {
  position: relative;
  align-self: stretch;
}

.photo-frame {
  position: absolute;
  inset: 0 7% 0 -10%;
  overflow: hidden;
}

.photo-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent 58%, var(--ivory) 100%);
  pointer-events: none;
}

.photo-frame img {
  position: absolute;
  right: 0;
  bottom: -19%;
  width: min(640px, 105%);
  max-width: none;
  height: auto;
  filter: saturate(0.76) contrast(0.98);
}

.photo-signature {
  position: absolute;
  z-index: 2;
  right: 14%;
  bottom: 42px;
  margin: 0;
  color: rgba(23, 32, 43, 0.5);
  font-family: var(--font-serif);
  font-size: 14px;
  font-style: italic;
  letter-spacing: 0.04em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 75px 0 110px 44px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: var(--bronze);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 1px;
  content: "";
  background: currentColor;
}

.eyebrow-light {
  color: var(--bronze-light);
}

.hero h1 {
  max-width: 580px;
  margin-bottom: 26px;
  font-family: var(--font-serif);
  font-size: clamp(54px, 5.2vw, 74px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

h1 em,
h2 em {
  color: var(--bronze);
  font-weight: 500;
}

.hero-lead {
  max-width: 520px;
  margin-bottom: 34px;
  color: #51575a;
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 54px;
  padding: 0 25px;
  border: 1px solid transparent;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button span {
  color: var(--bronze-light);
  font-size: 15px;
}

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

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

.button-dark:hover {
  color: var(--ink);
  background: transparent;
}

.button-outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

.button-outline:hover {
  color: var(--white);
  background: var(--ink);
}

.button-light {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.button-light:hover {
  color: var(--paper);
  background: transparent;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(23, 32, 43, 0.3);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-link span {
  color: var(--bronze);
}

.hero-credentials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 46px;
  color: #666b6e;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-credentials > span:nth-child(2) {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--bronze);
}

.pillars {
  position: relative;
  z-index: 10;
  margin-top: -66px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  box-shadow: var(--shadow);
}

.pillar {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  min-height: 166px;
  padding: 38px 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  background: var(--charcoal);
  transition: transform 180ms ease, background 180ms ease;
}

.pillar:hover {
  z-index: 2;
  background: var(--ink);
  transform: translateY(-5px);
}

.pillar-accent {
  background: #756956;
}

.pillar-accent:hover {
  background: #695d4c;
}

.pillar-number {
  color: var(--bronze-light);
  font-family: var(--font-serif);
  font-size: 18px;
}

.pillar h2 {
  margin: 2px 0 8px;
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 500;
}

.pillar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  line-height: 1.7;
}

.pillar-arrow {
  align-self: end;
  color: rgba(255, 255, 255, 0.6);
}

.philosophy {
  padding-top: 146px;
  background: var(--paper);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}

.section-intro h2,
.section-heading h2,
.about h2,
.contact h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(46px, 5vw, 65px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.philosophy-copy {
  padding: 48px 0 0 50px;
  border-left: 1px solid var(--line);
}

.lead-serif {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.35;
}

.philosophy-copy > p:not(.lead-serif) {
  max-width: 585px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 14px;
}

.facts {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  color: var(--white);
  background-color: var(--ink-deep);
  background-image: url("../images/fachada-juridica.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.facts::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(13, 20, 27, 0.96), rgba(13, 20, 27, 0.78));
}

.facts-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 70px 70px;
}

.facts-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: center;
  min-height: 520px;
  gap: 90px;
}

.facts-heading h2 {
  max-width: 370px;
  font-family: var(--font-serif);
  font-size: 46px;
  font-weight: 500;
  line-height: 1.02;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.facts-grid article {
  min-height: 180px;
  padding: 30px 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.facts-grid strong {
  display: block;
  color: var(--bronze-light);
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.facts-grid strong span {
  font-size: 24px;
}

.facts-grid .fact-code {
  font-size: 39px;
}

.facts-grid .fact-place {
  font-size: 30px;
  line-height: 0.9;
}

.facts-grid p {
  max-width: 190px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-transform: uppercase;
}

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

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

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

.section-heading.centered .eyebrow::after {
  width: 34px;
  height: 1px;
  content: "";
  background: currentColor;
}

.section-heading > p:last-child {
  max-width: 560px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 14px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.practice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 36px 34px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.practice-card::before {
  position: absolute;
  top: -1px;
  right: -1px;
  left: -1px;
  height: 3px;
  content: "";
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.practice-card:hover {
  z-index: 2;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

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

.practice-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.practice-number {
  color: var(--bronze);
  font-family: var(--font-serif);
  font-size: 22px;
}

.practice-tag {
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.practice-card h3 {
  margin: 58px 0 18px;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
}

.practice-card p {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  transition: color 180ms ease;
}

.practice-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid rgba(155, 129, 92, 0.35);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.practice-card a span {
  color: var(--bronze);
  font-size: 14px;
}

.approach {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.approach-decoration {
  position: absolute;
  top: 0;
  right: -9%;
  width: 52%;
  height: 100%;
  opacity: 0.1;
  background:
    linear-gradient(120deg, transparent 0 46%, var(--bronze) 46% 47%, transparent 47% 100%),
    linear-gradient(60deg, transparent 0 46%, var(--bronze) 46% 47%, transparent 47% 100%);
  background-size: 160px 160px;
  transform: skewX(-10deg);
}

.approach-inner {
  position: relative;
  z-index: 2;
}

.approach-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: end;
  margin-bottom: 76px;
}

.approach-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -45px;
}

.approach-heading h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(48px, 5vw, 66px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.approach-heading > p:last-child {
  max-width: 500px;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.approach-steps article {
  min-height: 270px;
  padding: 36px 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.17);
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.approach-steps span {
  color: var(--bronze-light);
  font-family: var(--font-serif);
  font-size: 22px;
}

.approach-steps h3 {
  margin: 58px 0 16px;
  font-family: var(--font-serif);
  font-size: 29px;
  font-weight: 500;
}

.approach-steps p {
  max-width: 290px;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.about {
  background: var(--ivory);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 100px;
  align-items: center;
}

.about-copy .lead-serif {
  max-width: 620px;
  margin: 35px 0 22px;
}

.about-copy > p:not(.lead-serif, .eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 14px;
}

.credentials-list {
  margin: 34px 0 38px;
  border-top: 1px solid var(--line);
}

.credentials-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.credentials-list dt {
  color: var(--bronze);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.credentials-list dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 17px;
}

.about-visual {
  position: relative;
  padding: 0 30px 48px 0;
}

.about-visual::before {
  position: absolute;
  top: -30px;
  right: 0;
  width: 76%;
  height: 88%;
  border: 1px solid var(--bronze);
  content: "";
}

.about-photo {
  position: relative;
  z-index: 2;
  overflow: hidden;
  aspect-ratio: 0.79;
  background: var(--white);
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  filter: saturate(0.7);
}

.about-note {
  position: absolute;
  z-index: 3;
  right: -28px;
  bottom: 0;
  width: 270px;
  padding: 25px 28px;
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.about-note span {
  display: block;
  margin-bottom: 10px;
  color: var(--bronze-light);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.about-note strong {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}

.manifesto {
  position: relative;
  overflow: hidden;
  min-height: 450px;
  color: var(--white);
  background-color: var(--ink-deep);
  background-image: url("../images/fachada-juridica.jpg");
  background-repeat: no-repeat;
  background-position: center 48%;
  background-size: cover;
}

.manifesto::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(13, 19, 25, 0.87);
}

.manifesto-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 450px;
  text-align: center;
}

.quote-mark {
  height: 54px;
  color: var(--bronze-light);
  font-family: var(--font-serif);
  font-size: 86px;
  line-height: 1;
}

.manifesto blockquote {
  max-width: 810px;
  margin: 18px 0 24px;
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 500;
  line-height: 1.08;
}

.manifesto p {
  color: var(--bronze-light);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact {
  color: var(--white);
  background: #1c252e;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 110px;
}

.contact-heading h2 {
  max-width: 650px;
}

.contact-heading > p:not(.eyebrow) {
  max-width: 560px;
  margin: 28px 0 34px;
  color: rgba(255, 255, 255, 0.57);
  font-size: 14px;
}

.contact-details {
  align-self: center;
  font-style: normal;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.contact-details div {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.contact-details span {
  display: block;
  margin-bottom: 9px;
  color: var(--bronze-light);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-details a {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.35;
  transition: color 180ms ease;
}

.contact-details a:hover {
  color: var(--bronze-light);
}

.footer {
  color: rgba(255, 255, 255, 0.62);
  background: var(--ink-deep);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 70px;
  align-items: center;
  padding-block: 66px;
}

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

.brand-light .brand-mark::before,
.brand-light .brand-mark::after {
  border-color: var(--white);
}

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

.brand-light .brand-copy small {
  color: rgba(255, 255, 255, 0.45);
}

.footer-main > p {
  max-width: 390px;
  margin: 0;
  font-size: 12px;
}

.back-to-top {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.back-to-top span {
  margin-left: 10px;
  color: var(--bronze-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.footer-bottom p {
  margin: 0;
}

.footer-credit a {
  color: var(--bronze-light);
  font-weight: 600;
  transition: color 180ms ease;
}

.footer-credit a:hover {
  color: var(--white);
}

.whatsapp-float {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px 0 12px;
  border-radius: 30px;
  color: var(--white);
  background: #1d6b54;
  box-shadow: 0 12px 30px rgba(9, 48, 36, 0.25);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

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

.whatsapp-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-size: 14px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

html.no-js [data-reveal] {
  opacity: 1;
  transform: none;
}

.practice-card:nth-child(2),
.approach-steps article:nth-child(2),
.pillars .pillar:nth-child(2) {
  transition-delay: 70ms;
}

.practice-card:nth-child(3),
.approach-steps article:nth-child(3),
.pillars .pillar:nth-child(3) {
  transition-delay: 140ms;
}

.practice-card:nth-child(5) {
  transition-delay: 70ms;
}

.practice-card:nth-child(6) {
  transition-delay: 140ms;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 18px;
  }

  .nav-links {
    gap: 17px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .hero-grid {
    grid-template-columns: 49% 51%;
  }

  .hero-copy {
    padding-left: 25px;
  }

  .photo-frame {
    left: -20%;
  }

  .about-grid,
  .philosophy-grid {
    gap: 65px;
  }
}

@media (max-width: 920px) {
  .topbar-inner > p {
    display: none;
  }

  .topbar-inner {
    justify-content: flex-end;
  }

  .menu-toggle {
    position: relative;
    z-index: 3;
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: block;
    visibility: hidden;
    padding: 15px 24px 26px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 20px 35px rgba(15, 22, 29, 0.12);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links {
    display: block;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .header-cta {
    width: 100%;
    margin-top: 18px;
  }

  .hero,
  .hero-grid {
    min-height: 710px;
  }

  .hero-grid {
    grid-template-columns: 45% 55%;
  }

  .photo-frame {
    right: -6%;
    left: -42%;
  }

  .photo-frame img {
    width: 620px;
  }

  .hero h1 {
    font-size: 57px;
  }

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

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

  .pillar {
    min-height: 132px;
  }

  .philosophy-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-copy {
    padding: 0;
    border-left: 0;
  }

  .facts-content {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-block: 90px;
  }

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

  .approach-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .approach-heading .eyebrow {
    grid-column: auto;
    margin-bottom: 0;
  }

  .about-grid {
    gap: 90px;
  }

  .about-visual {
    width: min(560px, 100%);
    margin-inline: auto;
  }

  .contact-grid {
    gap: 65px;
  }

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

  .back-to-top {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 76px;
  }

  .shell {
    width: min(100% - 32px, 560px);
  }

  .section {
    padding-block: 82px;
  }

  .topbar {
    display: none;
  }

  .header-inner {
    min-height: 74px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy small {
    font-size: 7px;
  }

  .hero {
    min-height: 0;
    background: var(--ivory);
  }

  .hero::before {
    display: none;
  }

  .hero-grid {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    min-height: 0;
  }

  .hero-copy {
    padding: 70px 24px 30px;
  }

  .hero h1 {
    font-size: clamp(49px, 14vw, 64px);
  }

  .hero-lead {
    font-size: 14px;
  }

  .hero-actions {
    gap: 24px;
  }

  .hero-credentials {
    flex-wrap: wrap;
    margin-top: 34px;
  }

  .hero-photo {
    height: 430px;
    overflow: hidden;
  }

  .photo-frame {
    inset: 0;
  }

  .photo-frame::after {
    background: linear-gradient(180deg, var(--ivory) 0, transparent 12%, transparent 75%, var(--ivory) 100%);
  }

  .photo-frame img {
    right: 50%;
    bottom: -20%;
    width: min(590px, 125vw);
    transform: translateX(50%);
  }

  .photo-signature {
    display: none;
  }

  .pillars {
    margin-top: 0;
    padding-block: 16px;
    background: var(--paper);
  }

  .pillars-grid {
    width: min(100% - 32px, 560px);
    box-shadow: none;
  }

  .pillar {
    min-height: 142px;
    padding: 32px 26px;
  }

  .philosophy {
    padding-top: 82px;
  }

  .philosophy-grid {
    gap: 45px;
  }

  .section-intro h2,
  .section-heading h2,
  .about h2,
  .contact h2,
  .approach-heading h2 {
    font-size: 44px;
  }

  .lead-serif {
    font-size: 23px;
  }

  .facts-content {
    min-height: 0;
  }

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

  .facts-grid article {
    min-height: 166px;
    padding: 26px 22px;
  }

  .facts-grid strong {
    font-size: 40px;
  }

  .facts-grid .fact-code {
    font-size: 29px;
  }

  .facts-grid .fact-place {
    font-size: 25px;
  }

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

  .practice-card {
    min-height: 340px;
  }

  .approach-steps {
    grid-template-columns: 1fr;
  }

  .approach-steps article {
    min-height: 230px;
  }

  .about-grid {
    gap: 76px;
  }

  .credentials-list div {
    grid-template-columns: 90px 1fr;
  }

  .about-visual {
    padding-right: 18px;
  }

  .about-note {
    right: -8px;
    width: 240px;
  }

  .manifesto-inner {
    min-height: 430px;
  }

  .contact-details a {
    overflow-wrap: anywhere;
    font-size: 18px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .back-to-top {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-block: 20px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding-right: 12px;
  }

  .whatsapp-label {
    display: none;
  }
}

@media (max-width: 390px) {
  .brand-copy strong {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 47px;
  }

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

  .credentials-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
