:root {
  --background: 201 100% 13%;
  --foreground: 0 0% 100%;
  --muted-foreground: 240 4% 66%;
  --primary: 0 0% 100%;
  --primary-foreground: 0 0% 4%;
  --secondary: 0 0% 10%;
  --muted-hsl: 0 0% 10%;
  --accent: 0 0% 10%;
  --border-hsl: 0 0% 18%;
  --input-hsl: 0 0% 18%;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", sans-serif;
  --ink: #181611;
  --paper: #f6f4ee;
  --panel: #ffffff;
  --muted: #666159;
  --line: #ddd7ca;
  --gold: #b28a48;
  --gold-dark: #87652d;
  --green: #1f4c43;
  --clay: #7c4235;
  --shadow: 0 24px 70px rgba(18, 16, 12, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--panel);
  color: var(--ink);
  padding: 10px 14px;
  border: 1px solid var(--line);
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px clamp(18px, 3vw, 36px) 0;
  color: hsl(var(--foreground));
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  padding-top: 10px;
}

.site-header-shell {
  position: relative;
  width: min(1280px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(5, 21, 32, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.16);
}

.site-header.is-scrolled .site-header-shell,
.site-header.menu-open .site-header-shell {
  background: rgba(5, 21, 32, 0.56);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 29px;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 4px;
  text-decoration: none;
  color: rgba(245, 239, 230, 0.78);
  font-weight: 500;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.16);
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  height: 1.5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(244, 230, 207, 0.16) 0%, rgba(244, 230, 207, 0.92) 50%, rgba(244, 230, 207, 0.16) 100%);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.site-nav a.is-active {
  color: #ffffff;
}

.site-nav a.is-active::after {
  transform: scaleX(1);
  opacity: 1;
}

.site-nav a:hover,
.site-nav a:focus {
  color: #ffffff;
}

.site-nav a:hover::after,
.site-nav a:focus::after {
  transform: scaleX(1);
  opacity: 0.92;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 10px;
  border: 0;
  color: hsl(var(--foreground));
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  color: #f5efe5;
  font-size: 14px;
  font-weight: 600;
  background: rgba(185, 153, 109, 0.24);
  border: 1px solid rgba(214, 186, 143, 0.46);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.header-cta:hover,
.header-cta:focus {
  transform: translateY(-2px);
  background: rgba(185, 153, 109, 0.34);
  border-color: rgba(232, 207, 171, 0.64);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("./assets/estudio-juridico-greco-carnevale-hero.jpg");
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transform: scale(1.08);
  filter: blur(3px) brightness(0.68) saturate(0.9);
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(0, 17, 27, 0.42) 0%, rgba(0, 17, 27, 0.5) 48%, rgba(0, 17, 27, 0.8) 100%),
    linear-gradient(90deg, rgba(0, 17, 27, 0.78) 0%, rgba(0, 17, 27, 0.34) 40%, rgba(0, 17, 27, 0.56) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 36px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 146px 0 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 1180px;
  font-size: clamp(52px, 8.6vw, 108px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.02em;
}

h2[id],
h3[id] {
  scroll-margin-top: 96px;
}

.hero-copy {
  max-width: 720px;
  margin: 30px 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 18px;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.button-primary {
  color: #09131b;
  background: linear-gradient(180deg, rgba(233, 220, 198, 0.98) 0%, rgba(211, 188, 151, 0.96) 100%);
  border-color: rgba(247, 236, 216, 0.72);
}

.button-primary:hover,
.button-primary:focus {
  background: linear-gradient(180deg, rgba(241, 229, 210, 1) 0%, rgba(220, 198, 163, 0.98) 100%);
  border-color: rgba(255, 242, 222, 0.88);
}

.button-secondary {
  color: #f8f2e8;
  background: rgba(8, 20, 29, 0.5);
  border-color: rgba(244, 232, 213, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.button-secondary:hover,
.button-secondary:focus {
  background: rgba(10, 24, 35, 0.72);
  border-color: rgba(244, 232, 213, 0.44);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(940px, 100%);
  margin: 56px 0 0;
}

.hero-proof div {
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-proof dt {
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-proof dd {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.92);
}

.liquid-glass {
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.15) 80%,
    rgba(255, 255, 255, 0.45) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.header-cta.liquid-glass,
.hero-actions .button.liquid-glass {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-cta.liquid-glass::before,
.hero-actions .button.liquid-glass::before {
  display: none;
}

.header-cta.liquid-glass {
  color: #10202b;
  background: linear-gradient(180deg, #f4ead8 0%, #dec39a 100%);
  border-color: rgba(255, 245, 227, 0.8);
  box-shadow: 0 16px 34px rgba(7, 14, 20, 0.22);
}

.header-cta.liquid-glass:hover,
.header-cta.liquid-glass:focus {
  background: linear-gradient(180deg, #fbf2e3 0%, #e5cda7 100%);
  border-color: rgba(255, 249, 236, 0.92);
  box-shadow: 0 20px 40px rgba(7, 14, 20, 0.28);
}

.hero-actions .button-primary.liquid-glass {
  color: #10202b;
  background: linear-gradient(180deg, #f4ead8 0%, #dec39a 100%);
  border-color: rgba(255, 245, 227, 0.8);
  box-shadow: 0 20px 44px rgba(7, 14, 20, 0.24);
}

.hero-actions .button-primary.liquid-glass:hover,
.hero-actions .button-primary.liquid-glass:focus {
  background: linear-gradient(180deg, #fbf2e3 0%, #e5cda7 100%);
  border-color: rgba(255, 249, 236, 0.92);
  box-shadow: 0 24px 52px rgba(7, 14, 20, 0.3);
}

.hero-actions .button-secondary.liquid-glass {
  color: #fbf5eb;
  background: rgba(12, 26, 37, 0.72);
  border-color: rgba(248, 236, 218, 0.34);
  box-shadow: 0 18px 40px rgba(7, 14, 20, 0.22);
}

.hero-actions .button-secondary.liquid-glass:hover,
.hero-actions .button-secondary.liquid-glass:focus {
  background: rgba(15, 31, 44, 0.86);
  border-color: rgba(248, 236, 218, 0.5);
  box-shadow: 0 22px 48px rgba(7, 14, 20, 0.28);
}

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-rise {
  animation: fade-rise 0.8s ease-out both;
}

.animate-fade-rise-delay {
  animation: fade-rise 0.8s ease-out 0.2s both;
}

.animate-fade-rise-delay-2 {
  animation: fade-rise 0.8s ease-out 0.4s both;
}

section {
  scroll-margin-top: 84px;
  padding: 88px clamp(18px, 4vw, 52px);
}

.intro-section {
  padding-top: 72px;
  background: var(--panel);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 56px;
  width: min(var(--max), 100%);
  margin: 0 auto;
  align-items: start;
}

.section-grid-reverse {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

h2 {
  max-width: 720px;
  font-size: 40px;
}

.lead-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.lead-copy p + p {
  margin-top: 18px;
}

.section-heading {
  width: min(var(--max), 100%);
  margin: 0 auto 36px;
}

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

.section-heading-centered .section-note {
  margin-left: auto;
  margin-right: auto;
}

.practice-section {
  background: linear-gradient(180deg, #f7f4ed 0%, #f2eee5 100%);
}

.practice-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.practice-card,
.partner-card,
.team-card,
.method-list article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.practice-card {
  min-height: 320px;
  padding: 28px;
}

.practice-card.is-title-only {
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.practice-card.is-title-only h3 {
  margin-top: 30px;
  max-width: 12ch;
}

.practice-grid-features {
  align-items: stretch;
}

.practice-card-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 24px;
  overflow: hidden;
  border-color: rgba(24, 22, 17, 0.08);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 12px 34px rgba(24, 22, 17, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.practice-card-feature::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--accent-color, var(--gold));
  opacity: 0.9;
}

.practice-card-feature:hover,
.practice-card-feature:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(24, 22, 17, 0.09);
  border-color: rgba(24, 22, 17, 0.12);
}

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

.practice-icon-shell {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft, rgba(31, 76, 67, 0.1));
  color: var(--accent-color, var(--green));
  flex: none;
}

.practice-icon {
  width: 34px;
  height: 34px;
}

.practice-copy {
  display: grid;
  gap: 10px;
}

.practice-number,
.method-list span {
  display: inline-block;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.practice-card h3,
.method-list h3,
.partner-card h3,
.team-card h3 {
  margin-top: 22px;
  font-size: 25px;
}

.practice-card p,
.method-list p,
.partner-card p,
.faq-list p {
  margin: 14px 0 0;
  color: var(--muted);
}

.practice-card-feature h3 {
  margin-top: 0;
  font-size: 24px;
  line-height: 1.12;
}

.practice-card-feature p {
  margin-top: 0;
  font-size: 15px;
  line-height: 1.7;
}

.practice-link,
.profile-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.practice-link::after,
.profile-link::after {
  content: "→";
  transform: translateY(-1px);
  transition: transform 180ms ease;
}

.practice-link:hover::after,
.practice-link:focus-visible::after,
.profile-link:hover::after,
.profile-link:focus-visible::after {
  transform: translate(3px, -1px);
}

.practice-accent-penal {
  --accent-color: #50688a;
  --accent-soft: rgba(80, 104, 138, 0.12);
}

.practice-accent-empresa {
  --accent-color: #335c67;
  --accent-soft: rgba(51, 92, 103, 0.12);
}

.practice-accent-danos {
  --accent-color: #8c5b3c;
  --accent-soft: rgba(140, 91, 60, 0.12);
}

.practice-accent-banco {
  --accent-color: #33503d;
  --accent-soft: rgba(51, 80, 61, 0.12);
}

.practice-accent-cobros {
  --accent-color: #7a4b59;
  --accent-soft: rgba(122, 75, 89, 0.12);
}

.practice-accent-fidei {
  --accent-color: #5d5277;
  --accent-soft: rgba(93, 82, 119, 0.12);
}

.practice-accent-sucesiones {
  --accent-color: #6d6452;
  --accent-soft: rgba(109, 100, 82, 0.12);
}

.practice-accent-accidentes {
  --accent-color: #7d3f3f;
  --accent-soft: rgba(125, 63, 63, 0.12);
}

.practice-accent-recursos {
  --accent-color: #1f4c43;
  --accent-soft: rgba(31, 76, 67, 0.12);
}

.practice-accent-cidh {
  --accent-color: #355f7f;
  --accent-soft: rgba(53, 95, 127, 0.12);
}

.practice-accent-compliance {
  --accent-color: #466147;
  --accent-soft: rgba(70, 97, 71, 0.12);
}

.practice-accent-tributario {
  --accent-color: #8a6a2c;
  --accent-soft: rgba(138, 106, 44, 0.12);
}

.partners-section {
  background: #171511;
  color: #fff;
}

.partners-section .section-heading h2 {
  color: #fff;
}

.partners-section .section-note {
  color: rgba(255, 255, 255, 0.74);
}

.partner-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.partner-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  background: #201d18;
  border-color: rgba(255, 255, 255, 0.12);
}

.partner-card > :not(.partner-photo) {
  margin-left: 30px;
  margin-right: 30px;
}

.partner-card > :last-child {
  margin-bottom: 30px;
}

.partner-photo {
  width: 100%;
  height: clamp(260px, 24vw, 330px);
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.partner-card:nth-child(2) .partner-photo {
  object-position: center 34%;
}

.counsel-card {
  width: min(var(--max), 100%);
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #201d18;
}

.counsel-photo {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center 18%;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.counsel-content {
  padding: 34px;
}

.counsel-content .partner-kicker {
  margin-top: 0;
}

.counsel-content h3 {
  margin-top: 22px;
  font-size: 30px;
}

.counsel-content p,
.counsel-content li {
  color: rgba(255, 255, 255, 0.78);
}

.counsel-content p {
  margin: 14px 0 0;
}

.partner-kicker {
  margin-top: 28px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.partner-card p,
.partner-card li {
  color: rgba(255, 255, 255, 0.78);
}

.partner-card .profile-link,
.counsel-card .profile-link {
  color: #f6f0df;
}

.credential-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.credential-list li {
  position: relative;
  padding-left: 18px;
  margin-top: 10px;
}

.credential-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--gold);
}

.team-subheading {
  width: min(var(--max), 100%);
  margin: 30px auto 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.team-label {
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.team-subheading .section-note {
  margin-top: 12px;
}

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

.team-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.team-card {
  min-height: 160px;
  padding: 24px;
  color: var(--ink);
}

.team-card span {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.team-grid-profiles {
  gap: 18px;
}

.team-profile-card {
  min-height: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #16130f;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(7, 7, 7, 0.16);
}

.team-profile-media {
  position: relative;
  height: 286px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.team-profile-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.02) saturate(1.02);
  transition: transform 240ms ease;
}

.team-profile-card:hover .team-profile-photo,
.team-profile-card:focus-within .team-profile-photo {
  transform: scale(1.04);
}

.team-profile-shade {
  position: absolute;
  inset: auto 0 0 0;
  height: 68%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(10, 10, 10, 0.16) 38%, rgba(10, 10, 10, 0.86) 100%);
  pointer-events: none;
}

.team-profile-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: 20px 20px 22px;
}

.team-profile-summary {
  margin: 0;
  min-height: 114px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.62;
}

.team-profile-meta {
  display: grid;
  gap: 5px;
}

.team-profile-card h3 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  line-height: 1.08;
}

.team-profile-role {
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-profile-card--joaquin .team-profile-photo {
  object-position: center 18%;
  transform: scale(1.06);
}

.team-profile-card--joaquin:hover .team-profile-photo,
.team-profile-card--joaquin:focus-within .team-profile-photo {
  transform: scale(1.1);
}

.team-profile-card--sol .team-profile-photo {
  object-position: center 20%;
  transform: scale(1.03);
}

.team-profile-card--camila .team-profile-photo {
  object-position: center 15%;
}

.team-profile-card--lourdes .team-profile-photo {
  object-position: center 16%;
  transform: scale(1.02);
}

.team-profile-media-placeholder {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(64, 54, 38, 0.44) 0%, rgba(22, 19, 15, 0.96) 100%),
    linear-gradient(135deg, #2a241c 0%, #1a1612 100%);
}

.team-profile-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.team-profile-note {
  margin: 0 0 6px 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.4;
}

.complex-section {
  background: linear-gradient(180deg, #fbf8f1 0%, #f3eee5 100%);
  border-top: 1px solid rgba(24, 22, 17, 0.06);
  border-bottom: 1px solid rgba(24, 22, 17, 0.06);
}

.complex-section .section-heading {
  padding-bottom: 32px;
}

.complex-section .section-heading .eyebrow {
  color: var(--gold-dark);
}

.complex-method-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.method-section {
  background: linear-gradient(180deg, #fbf8f1 0%, #f3eee5 100%);
  border-top: 1px solid rgba(24, 22, 17, 0.06);
  border-bottom: 1px solid rgba(24, 22, 17, 0.06);
}

.method-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.method-card {
  border: 1px solid rgba(24, 22, 17, 0.08);
  border-radius: 8px;
  background: rgba(255, 252, 245, 0.98);
  box-shadow: 0 10px 28px rgba(24, 22, 17, 0.05);
}

.method-card-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.method-card-feature::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--method-accent, var(--gold));
  opacity: 0.9;
}

.method-card-feature:hover,
.method-card-feature:focus-within {
  transform: translateY(-2px);
  border-color: rgba(24, 22, 17, 0.12);
  box-shadow: 0 16px 34px rgba(24, 22, 17, 0.08);
}

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

.method-icon-shell {
  width: 82px;
  height: 82px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--method-soft, rgba(31, 76, 67, 0.1));
  color: var(--method-accent, var(--green));
  flex: none;
}

.method-icon {
  width: 32px;
  height: 32px;
}

.method-number {
  display: inline-block;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.method-copy {
  display: grid;
  gap: 10px;
}

.method-copy h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.12;
}

.method-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.method-figure {
  margin-top: auto;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(24, 22, 17, 0.08);
  background: rgba(242, 236, 226, 0.8);
}

.method-figure-window {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.method-figure-window span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(24, 22, 17, 0.16);
}

.method-figure-head {
  display: grid;
  gap: 3px;
  margin-bottom: 14px;
}

.method-figure-head strong,
.method-summary-box strong,
.method-message-box strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.method-figure-head small,
.method-summary-box small,
.method-message-box small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.method-checklist {
  display: grid;
  gap: 10px;
}

.method-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.68);
}

.method-check-item i {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--method-accent, var(--green));
  opacity: 0.16;
  position: relative;
  flex: none;
}

.method-check-item i::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 999px;
  background: var(--method-accent, var(--green));
}

.method-check-item span,
.method-status-item span {
  color: var(--muted);
  font-size: 13px;
}

.method-pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.method-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.method-pill.is-muted {
  color: var(--muted);
}

.method-route {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.method-route-node {
  padding: 11px 13px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.method-route-line {
  width: 1px;
  height: 14px;
  margin-left: 12px;
  background: rgba(24, 22, 17, 0.12);
}

.method-summary-box,
.method-message-box {
  padding: 12px 13px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  display: grid;
  gap: 4px;
}

.method-status-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.method-status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.68);
}

.method-status-item strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.method-accent-diagnostico {
  --method-accent: #50688a;
  --method-soft: rgba(80, 104, 138, 0.13);
}

.method-accent-plan {
  --method-accent: #335c67;
  --method-soft: rgba(51, 92, 103, 0.13);
}

.method-accent-ejecucion {
  --method-accent: #8b6a3b;
  --method-soft: rgba(139, 106, 59, 0.14);
}

.clients-section {
  background: #f0eee7;
}

.clients-section .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(135, 101, 45, 0.16);
  background: rgba(135, 101, 45, 0.1);
  color: #7b5d2a;
  box-shadow: 0 8px 22px rgba(24, 22, 17, 0.04);
}

.testimonials-section {
  padding-top: 64px;
  padding-bottom: 72px;
  background: #ebe6dc;
  border-top: 1px solid rgba(24, 22, 17, 0.06);
  border-bottom: 1px solid rgba(24, 22, 17, 0.06);
}

.testimonials-intro {
  margin-bottom: 30px;
}

.testimonial-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 22px;
}

.testimonial-meta strong {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 58px);
  line-height: 0.9;
  font-weight: 600;
}

.testimonial-meta span {
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.testimonial-meta a,
.testimonials-footnote a {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}

.testimonial-meta a:hover,
.testimonial-meta a:focus-visible,
.testimonials-footnote a:hover,
.testimonials-footnote a:focus-visible {
  text-decoration: underline;
}

.testimonials-stage-shell {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.testimonials-stage {
  position: relative;
  height: 640px;
  overflow: hidden;
}

.testimonial-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--card-size, 350px);
  height: var(--card-size, 350px);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid rgba(24, 22, 17, 0.12);
  background: rgba(255, 253, 248, 0.96);
  color: var(--ink);
  clip-path: polygon(40px 0%, calc(100% - 40px) 0%, 100% 40px, 100% 100%, calc(100% - 40px) 100%, 40px 100%, 0% 100%, 0% 0%);
  box-shadow: 0 16px 44px rgba(24, 22, 17, 0.08);
  transition: transform 420ms ease, opacity 320ms ease, box-shadow 240ms ease, border-color 240ms ease, background 240ms ease, color 240ms ease;
  cursor: pointer;
  transform-origin: center center;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 38px;
  right: -2px;
  width: 56px;
  height: 1px;
  background: rgba(24, 22, 17, 0.18);
  transform: rotate(45deg);
  transform-origin: top right;
}

.testimonial-card.is-active {
  background: #162430;
  color: #f6f1e8;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 60px rgba(7, 16, 24, 0.24);
}

.testimonial-card.is-active::before {
  background: rgba(255, 255, 255, 0.18);
}

.testimonial-card.is-hidden {
  pointer-events: none;
}

.testimonial-card:hover,
.testimonial-card:focus-visible {
  border-color: rgba(178, 138, 72, 0.52);
}

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

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(24, 22, 17, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 22, 17, 0.04);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.testimonial-card.is-active .testimonial-avatar {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 0.12em;
}

.testimonial-copy {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 31px);
  line-height: 1.16;
  font-weight: 500;
}

.testimonial-card:not(.is-active) .testimonial-copy {
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.2;
}

.testimonial-card.is-active .testimonial-copy,
.testimonial-card.is-active .testimonial-byline strong,
.testimonial-card.is-active .testimonial-byline span {
  color: inherit;
}

.testimonial-byline {
  margin-top: auto;
  display: grid;
  gap: 4px;
}

.testimonial-byline strong {
  font-size: 15px;
  line-height: 1.2;
}

.testimonial-byline span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.testimonials-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.testimonials-control {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(24, 22, 17, 0.12);
  background: rgba(255, 253, 248, 0.88);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.testimonials-control:hover,
.testimonials-control:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(178, 138, 72, 0.52);
  background: #fffdf8;
}

.testimonials-footnote {
  width: min(var(--max), 100%);
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 14px;
}

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

.faq-list {
  width: min(900px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 700;
}

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

.source-section {
  padding-top: 64px;
  padding-bottom: 64px;
  background: var(--panel);
}

.section-note {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.news-columns-layout {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.news-group {
  display: grid;
  gap: 16px;
}

.news-group h3 {
  margin: 0;
  font-size: 28px;
}

.news-column-frame {
  position: relative;
  height: 980px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.news-grid {
  --news-gap: 18px;
  display: flex;
  flex-direction: column;
  gap: var(--news-gap);
  will-change: transform;
  animation: news-column-scroll var(--scroll-duration, 38s) linear infinite;
}

.news-column-shell:hover .news-grid,
.news-column-shell:focus-within .news-grid {
  animation-play-state: paused;
}

@keyframes news-column-scroll {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(calc(-1 * var(--scroll-distance, 50%)));
  }
}

.news-card {
  display: grid;
  gap: 14px;
  width: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--ink);
  text-decoration: none;
  background: #fffdf8;
  box-shadow: 0 16px 40px rgba(23, 20, 15, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.news-card:hover,
.news-card:focus {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(23, 20, 15, 0.1);
}

.news-card span,
.news-card-source {
  margin: 0;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.news-card strong,
.news-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.04;
  font-weight: 600;
}

.news-card em,
.news-card-detail {
  margin: 0;
  color: var(--muted);
  font-style: normal;
  line-height: 1.72;
}

.news-card-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 4px;
}

.news-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  object-position: center 26%;
  flex: none;
}

.news-card-person-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.news-card-person-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.news-card-person-role {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.25;
}

.publications-section {
  background: #f8f6f1;
  border-top: 1px solid var(--line);
}

.publications-section .section-heading {
  padding-bottom: 8px;
}

.publications-section .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(135, 101, 45, 0.16);
  background: rgba(135, 101, 45, 0.1);
  color: #7b5d2a;
  box-shadow: 0 8px 22px rgba(24, 22, 17, 0.04);
}

.publications-section .section-heading::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin-top: 18px;
  background: rgba(135, 101, 45, 0.52);
}

.publications-section .section-heading h2 {
  color: #15120e;
}

.publications-section .section-note {
  display: inline-block;
  max-width: 700px;
  margin-top: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(24, 22, 17, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: #4d4740;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  box-shadow: 0 10px 24px rgba(18, 16, 12, 0.04);
}

.publication-groups {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  gap: 38px;
}

.publication-group {
  display: grid;
  gap: 18px;
}

.publication-group h3 {
  margin: 0;
  font-size: 28px;
}

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

.publication-stage-shell {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.publication-stage {
  position: relative;
  height: 760px;
  overflow: hidden;
}

.publication-stage .publications-empty {
  width: 100%;
  margin: 0;
}

.publication-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--publication-card-size, 410px);
  height: calc(var(--publication-card-size, 410px) + 96px);
  padding: 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid rgba(24, 22, 17, 0.12);
  background: rgba(255, 253, 248, 0.98);
  color: var(--ink);
  clip-path: polygon(40px 0%, calc(100% - 40px) 0%, 100% 40px, 100% 100%, calc(100% - 40px) 100%, 40px 100%, 0% 100%, 0% 0%);
  box-shadow: 0 18px 44px rgba(24, 22, 17, 0.08);
  transition:
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 520ms ease,
    box-shadow 360ms ease,
    border-color 360ms ease,
    background 360ms ease,
    color 360ms ease;
  cursor: pointer;
  transform-origin: center center;
  will-change: transform, opacity, filter;
  user-select: none;
  -webkit-user-select: none;
}

.publication-card::before {
  content: "";
  position: absolute;
  top: 38px;
  right: -2px;
  width: 56px;
  height: 1px;
  background: rgba(24, 22, 17, 0.18);
  transform: rotate(45deg);
  transform-origin: top right;
}

.publication-card.is-active {
  background: #162430;
  color: #f6f1e8;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 60px rgba(7, 16, 24, 0.24);
}

.publication-card.is-active::before {
  background: rgba(255, 255, 255, 0.18);
}

.publication-card.is-hidden {
  pointer-events: none;
}

.publication-card:hover,
.publication-card:focus-visible {
  border-color: rgba(178, 138, 72, 0.52);
}

.publication-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.publication-meta {
  margin: 0;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.publication-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(24, 22, 17, 0.12);
  border-radius: 999px;
  background: rgba(24, 22, 17, 0.04);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.publication-card h4 {
  margin: 0;
  font-size: 26px;
  line-height: 1.08;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.publication-card p {
  margin: 0;
  color: var(--muted);
}

.publication-description {
  font-size: 15px;
  line-height: 1.58;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.publication-card.is-active .publication-meta,
.publication-card.is-active h4,
.publication-card.is-active .publication-description,
.publication-card.is-active .publication-author-name,
.publication-card.is-active .publication-author-role {
  color: inherit;
}

.publication-card.is-active .publication-badge {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(246, 241, 232, 0.82);
}

.publication-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: auto;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(24, 22, 17, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.publication-link:hover,
.publication-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(178, 138, 72, 0.52);
}

.publication-card.is-active .publication-link {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #f6f1e8;
}

.publication-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  min-width: 0;
}

.publication-author-avatar,
.publication-author-initials {
  width: 52px;
  height: 52px;
  flex: none;
  border: 1px solid rgba(24, 22, 17, 0.12);
  background: rgba(24, 22, 17, 0.04);
}

.publication-author-avatar {
  object-fit: cover;
  object-position: center 18%;
}

.publication-author-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.publication-card.is-active .publication-author-avatar,
.publication-card.is-active .publication-author-initials {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.publication-author-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.publication-author-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.publication-author-role {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.3;
}

.publication-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.publication-control {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(24, 22, 17, 0.12);
  background: rgba(255, 253, 248, 0.88);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.publication-control:hover,
.publication-control:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(178, 138, 72, 0.52);
  background: #fffdf8;
}

.publication-control:disabled {
  cursor: default;
  opacity: 0.46;
  transform: none;
}

.publications-empty {
  width: min(var(--max), 100%);
  margin: 0 auto;
  color: var(--muted);
}

.publications-admin-link {
  width: min(var(--max), 100%);
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 14px;
}

.publications-admin-link a {
  text-underline-offset: 4px;
}

.contact-section {
  background: #171511;
  color: #fff;
}

.contact-panel {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 40px;
  align-items: start;
}

.contact-copy h2 {
  color: #fff;
}

.contact-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-links a,
.contact-links span {
  color: #fff;
}

.contact-links a {
  text-decoration-color: rgba(255, 255, 255, 0.28);
  text-underline-offset: 4px;
}

.contact-links span {
  color: rgba(255, 255, 255, 0.78);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #211f1a;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: #11100d;
  color: #fff;
  padding: 12px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

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

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

.contact-form .button-primary {
  background: #b28a48;
  color: #171511;
  border: 1px solid #c49a5a;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.contact-form .button-primary:hover,
.contact-form .button-primary:focus {
  background: #c39a59;
  color: #171511;
}

.contact-form .button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #f3ede3;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

.contact-form .button-secondary:hover,
.contact-form .button-secondary:focus {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px clamp(18px, 4vw, 52px);
  background: #0d0c0a;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
}

.site-footer img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 10px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 4px;
}

.seo-page {
  background: var(--paper);
  color: var(--ink);
}

.seo-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(24, 22, 17, 0.1);
  background: rgba(246, 244, 238, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.seo-header-shell {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.seo-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  text-decoration: none;
}

.seo-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.seo-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.seo-nav a {
  text-decoration: none;
}

.seo-hero {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 88px 0 56px;
}

.seo-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
}

.seo-breadcrumb a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.seo-hero h1 {
  max-width: 960px;
  color: var(--ink);
  font-size: clamp(48px, 8vw, 96px);
}

.seo-hero p {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.seo-main {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 90px;
}

.seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 36px;
  align-items: start;
}

.seo-content,
.seo-aside,
.seo-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.96);
}

.seo-content {
  padding: clamp(28px, 4vw, 46px);
}

.seo-content h2,
.seo-card h2,
.seo-aside h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
}

.seo-content h3 {
  margin: 34px 0 0;
  font-size: 24px;
}

.seo-content p,
.seo-content li,
.seo-card p,
.seo-aside p,
.seo-aside li {
  color: var(--muted);
}

.seo-content p {
  margin: 16px 0 0;
}

.seo-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.seo-list li {
  position: relative;
  margin-top: 12px;
  padding-left: 22px;
}

.seo-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.seo-aside {
  position: sticky;
  top: 96px;
  padding: 28px;
}

.seo-aside ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.seo-aside li + li {
  margin-top: 10px;
}

.seo-aside a {
  color: var(--ink);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.seo-actions .button-primary {
  color: #171511;
  background: #f4ead7;
  border: 1px solid #c39a59;
}

.seo-actions .button-secondary {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}

.seo-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.seo-card {
  padding: 24px;
}

.profile-page .seo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 36px;
  align-items: end;
}

.profile-page .seo-hero img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.profile-page .seo-hero--carlos img {
  aspect-ratio: 4 / 3;
}

.whatsapp-float {
  position: fixed;
  right: clamp(18px, 2.2vw, 28px);
  bottom: clamp(18px, 2.4vw, 28px);
  z-index: 48;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 18px 8px 14px;
  min-width: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(180deg, #25d366 0%, #1ebe5d 100%);
  border: 1px solid rgba(18, 140, 76, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 14px 34px rgba(18, 140, 76, 0.28);
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 18px 40px rgba(18, 140, 76, 0.34);
  background: linear-gradient(180deg, #2ad86c 0%, #20c261 100%);
  border-color: rgba(18, 140, 76, 0.36);
}

.whatsapp-float-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: #f7f4ec;
}

.whatsapp-float svg,
.whatsapp-float img {
  width: 22px;
  height: 22px;
  display: block;
  filter:
    drop-shadow(0 1px 1px rgba(8, 52, 28, 0.28))
    drop-shadow(0 0 1.1px rgba(6, 30, 17, 0.62));
}

.whatsapp-float-copy {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.whatsapp-float-copy strong {
  color: #f7f4ec;
  display: block;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-shadow:
    0 1px 1px rgba(8, 52, 28, 0.22),
    0 0 1px rgba(6, 30, 17, 0.58);
}

@media (max-width: 980px) {
  h1 {
    font-size: clamp(48px, 9vw, 82px);
  }

  h2 {
    font-size: 36px;
  }

  .seo-layout,
  .profile-page .seo-hero {
    grid-template-columns: 1fr;
  }

  .seo-aside {
    position: static;
  }

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

  .section-grid,
  .section-grid-reverse,
  .contact-panel,
  .complex-layout {
    grid-template-columns: 1fr;
  }

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

  .testimonials-stage {
    height: 620px;
  }

  .publication-stage {
    height: 710px;
  }

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

  .team-profile-summary {
    min-height: 98px;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px 0;
  }

  .brand span {
    font-size: 20px;
    line-height: 1.05;
  }

  .site-header-shell {
    padding: 14px 16px;
    border-radius: 28px;
  }

  .menu-toggle {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: 28px;
    background: rgba(5, 21, 32, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

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

  .site-nav a {
    padding: 12px 14px;
    border-bottom: 0;
  }

  .hero,
  .hero-content {
    min-height: 100svh;
  }

  .hero-content {
    padding-top: 128px;
    padding-bottom: 54px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(0, 17, 27, 0.16) 0%, rgba(0, 17, 27, 0.7) 100%),
      linear-gradient(90deg, rgba(0, 17, 27, 0.74) 0%, rgba(0, 17, 27, 0.24) 48%, rgba(0, 17, 27, 0.54) 100%);
  }

  h1 {
    font-size: clamp(40px, 11vw, 56px);
  }

  h2 {
    font-size: 29px;
  }

  .hero-copy,
  .lead-copy p {
    font-size: 17px;
  }

  .hero-copy {
    max-width: 560px;
  }

  .hero-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .seo-header-shell {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .seo-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .seo-hero {
    padding-top: 54px;
  }

  .seo-card-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-proof,
  .partner-grid,
  .method-grid,
  .team-grid,
  .news-columns-layout {
    grid-template-columns: 1fr;
  }

  .team-profile-media {
    height: 260px;
  }

  .team-profile-summary {
    min-height: 0;
  }

  .team-profile-card h3 {
    font-size: 28px;
  }

  .testimonial-meta {
    align-items: flex-start;
  }

  .testimonials-stage {
    height: 520px;
  }

  .testimonial-card {
    padding: 22px 20px 20px;
    clip-path: polygon(28px 0%, calc(100% - 28px) 0%, 100% 28px, 100% 100%, calc(100% - 28px) 100%, 28px 100%, 0% 100%, 0% 0%);
  }

  .testimonial-card::before {
    top: 26px;
    width: 38px;
  }

  .testimonial-copy {
    font-size: 24px;
  }

  .publication-stage {
    height: 650px;
  }

  .publication-card {
    padding: 22px 20px 20px;
    clip-path: polygon(28px 0%, calc(100% - 28px) 0%, 100% 28px, 100% 100%, calc(100% - 28px) 100%, 28px 100%, 0% 100%, 0% 0%);
  }

  .publication-card::before {
    top: 26px;
    width: 38px;
  }

  .publication-card h4 {
    font-size: 22px;
  }

  .publication-description {
    font-size: 14px;
    line-height: 1.58;
    -webkit-line-clamp: 6;
  }

  .news-column-frame {
    height: 720px;
  }

  .complex-layout {
    gap: 26px;
  }

  .complex-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 0 24px;
  }

  .complex-item span {
    padding-top: 0;
  }

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

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

  .practice-card-feature,
  .method-card-feature {
    gap: 18px;
    padding: 24px;
  }

  .practice-icon-shell,
  .method-icon-shell {
    width: 76px;
    height: 76px;
  }

  .practice-icon,
  .method-icon {
    width: 30px;
    height: 30px;
  }

  .practice-card.is-title-only h3 {
    max-width: none;
  }

  .partner-photo {
    height: min(62vw, 360px);
  }

  .counsel-card {
    grid-template-columns: 1fr;
  }

  .counsel-photo {
    min-height: 360px;
    height: min(76vw, 420px);
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .counsel-content {
    padding: 28px;
  }

  section {
    padding: 64px 18px;
  }

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

  .whatsapp-float {
    min-height: 50px;
    padding: 7px 16px 7px 12px;
    right: 18px;
    bottom: 18px;
  }

  .whatsapp-float-icon {
    width: 20px;
    height: 20px;
  }

  .whatsapp-float svg,
  .whatsapp-float img {
    width: 20px;
    height: 20px;
  }

  .whatsapp-float-copy strong {
    font-size: 14px;
  }

}

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

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