/*
Theme Name: Leyux
Theme URI: https://leyux.es/
Author: Leyux Abogados
Description: Tema corporativo a medida para Leyux Abogados y Gestoría Administrativa en Almería.
Version: 1.2.1
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: leyux
*/

:root {
  --burgundy: #9e171c;
  --burgundy-dark: #761116;
  --ink: #1c1c1e;
  --ink-soft: #343337;
  --paper: #f5f2ed;
  --paper-deep: #ebe5df;
  --white: #fff;
  --muted: #6d6967;
  --line: rgba(28, 28, 30, 0.16);
  --line-light: rgba(255, 255, 255, 0.2);
  --font-sans: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans), Arial, sans-serif;
}

body.admin-bar .site-header {
  top: 32px;
}

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

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

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

p,
h1,
h2,
h3,
blockquote {
  text-wrap: pretty;
}

.shell {
  width: min(100% - 72px, 1420px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 108px;
  display: grid;
  grid-template-columns: 150px 1fr 190px;
  align-items: center;
  gap: 34px;
}

.brand {
  width: 84px;
  height: 88px;
  display: grid;
  place-items: center;
}

.brand img {
  width: 78px;
  height: auto;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
}

.desktop-nav a,
.header-cta {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
  color: #555155;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--burgundy);
  transition: right 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  right: 0;
}

.header-cta {
  min-height: 46px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--burgundy);
  color: var(--white);
  transition: background 180ms ease, transform 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--burgundy-dark);
  transform: translateY(-1px);
}

.mobile-menu {
  display: none;
  justify-self: end;
}

.mobile-menu summary {
  width: 45px;
  height: 45px;
  list-style: none;
  display: grid;
  align-content: center;
  gap: 7px;
  cursor: pointer;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span {
  width: 30px;
  height: 1px;
  display: block;
  background: var(--ink);
  justify-self: end;
}

.mobile-menu summary span:last-child {
  width: 20px;
}

.mobile-menu nav {
  position: absolute;
  top: 88px;
  left: 18px;
  right: 18px;
  padding: 26px;
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 20px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.22);
}

.mobile-menu nav a {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-light);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  min-height: 720px;
  overflow: hidden;
  background: #151315;
  color: var(--white);
}

.hero-layout {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(390px, 0.78fr) minmax(600px, 1.22fr);
  gap: clamp(38px, 5vw, 86px);
  align-items: center;
}

.hero-copy {
  padding-block: clamp(72px, 9vw, 126px);
}

.eyebrow,
.section-index {
  margin: 0 0 28px;
  color: var(--burgundy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 5.3vw, 84px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.hero h1 .hero-accent {
  display: block;
  margin-top: 0.12em;
  color: #efd7d8;
  font-style: italic;
}

.hero h1 .hero-local,
.gestoria-hero-copy h1 .hero-local {
  display: block;
  margin: 0 0 28px;
  color: var(--burgundy);
  font-family: var(--font-sans);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-intro {
  max-width: 580px;
  margin: 36px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.58;
}

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

.button {
  min-height: 54px;
  min-width: 238px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button-primary {
  background: var(--burgundy);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--burgundy-dark);
}

.button-link {
  display: grid;
  gap: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  padding-bottom: 8px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
}

.button-link span {
  color: rgba(255, 255, 255, 0.54);
  font-family: var(--font-sans), Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-team {
  width: 100%;
  min-width: 0;
  margin: 0;
  align-self: stretch;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f1f0ee;
}

.hero-team::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(158, 23, 28, 0.2);
  pointer-events: none;
}

.hero-team img {
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1) contrast(1.03);
}

.hero-team figcaption {
  margin: 18px 28px 26px;
  color: rgba(28, 28, 30, 0.58);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.proof-section {
  padding: 0 0 clamp(72px, 8vw, 116px);
  background: var(--paper);
}

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

.proof-bar > div {
  min-height: 142px;
  padding: 27px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.proof-bar strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 400;
}

.proof-bar span {
  max-width: 200px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gestoria-feature {
  padding: clamp(96px, 10vw, 150px) 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.gestoria-feature-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(70px, 10vw, 160px);
  align-items: center;
}

.gestoria-lockup {
  min-height: 510px;
  padding: clamp(42px, 6vw, 82px);
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  gap: 32px;
  background: var(--white);
  border: 1px solid var(--line);
}

.gestoria-lockup::after {
  content: "Gestoría administrativa colegiada";
  position: absolute;
  left: 22px;
  bottom: 18px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gestoria-lockup > span {
  width: min(100%, 230px);
  height: 1px;
  background: var(--line);
}

.gestoria-leyux-logo {
  width: 112px;
}

.gestoria-ga-logo {
  width: 146px;
  border-radius: 50%;
}

.gestoria-feature-copy h2,
.faq-grid h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(43px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.03;
}

.gestoria-feature-copy .lead {
  max-width: 720px;
  margin: 34px 0 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.55;
}

.gestoria-service-list {
  list-style: none;
  max-width: 720px;
  margin: 38px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.gestoria-service-list li {
  min-height: 60px;
  padding: 16px 0 16px 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
  display: flex;
  align-items: center;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.gestoria-service-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  left: 0;
  background: var(--burgundy);
  border-radius: 50%;
}

.gestoria-feature-actions {
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.gestoria-direct-contact {
  display: grid;
  gap: 5px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--burgundy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.gestoria-direct-contact span {
  color: var(--muted);
  font-family: var(--font-sans), Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.gestoria-feature-meta {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.firm-section {
  padding: clamp(100px, 11vw, 170px) 0;
  background: var(--ink);
  color: var(--white);
}

.firm-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(70px, 10vw, 160px);
  align-items: center;
}

.firm-media {
  position: relative;
}

.firm-media::before {
  content: "";
  position: absolute;
  width: 42%;
  height: 50%;
  left: -24px;
  bottom: -24px;
  border-left: 1px solid var(--burgundy);
  border-bottom: 1px solid var(--burgundy);
}

.firm-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.8) contrast(1.08);
}

.firm-media p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.firm-copy h2,
.section-heading h2,
.team-heading h2,
.method-intro h2,
.values-grid h2,
.contact-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(43px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.03;
}

.firm-copy > p:not(.section-index) {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1.85;
}

.firm-copy .lead {
  margin: 38px 0 20px;
  color: rgba(255, 255, 255, 0.83) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 1.7vw, 25px) !important;
  line-height: 1.55 !important;
}

.firm-copy blockquote {
  margin: 42px 0 0;
  padding: 28px 0 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  border-left: 3px solid var(--burgundy);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2.4vw, 35px);
  font-style: italic;
  line-height: 1.38;
}

.areas-section {
  padding: clamp(100px, 11vw, 165px) 0;
  background: var(--paper);
}

.section-heading,
.team-heading {
  margin-bottom: 74px;
  display: grid;
  grid-template-columns: 1.75fr 0.75fr;
  gap: clamp(50px, 9vw, 140px);
  align-items: end;
}

.section-heading > p,
.team-heading > p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

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

.practice-card {
  min-height: 310px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: background 210ms ease, color 210ms ease;
}

.practice-card:hover {
  background: var(--burgundy);
  color: var(--white);
}

.practice-number {
  color: var(--burgundy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.practice-card:hover .practice-number {
  color: rgba(255, 255, 255, 0.55);
}

.practice-card h3 {
  max-width: 340px;
  margin: auto 40px 18px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.2vw, 35px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.practice-card p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  transition: color 210ms ease;
}

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

.practice-mark {
  position: absolute;
  right: 30px;
  bottom: 31px;
  color: var(--burgundy);
  font-size: 18px;
}

.practice-card:hover .practice-mark {
  color: var(--white);
}

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

.position-section {
  padding: clamp(90px, 10vw, 145px) 0;
  background: var(--burgundy);
  color: var(--white);
}

.position-grid {
  display: grid;
  grid-template-columns: 0.45fr 1.8fr 0.6fr;
  gap: clamp(45px, 7vw, 110px);
  align-items: start;
}

.position-section .section-index {
  color: rgba(255, 255, 255, 0.62);
}

.position-quote {
  margin: -10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 72px);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.position-note {
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  padding-top: 18px;
}

.position-note span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.position-note p {
  margin: 20px 0 0;
  font-size: 14px;
  line-height: 1.65;
}

.team-section {
  padding: clamp(100px, 11vw, 165px) 0;
  background: var(--paper-deep);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.team-card {
  min-width: 0;
}

.portrait-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
  background: #f8f8f8;
}

.portrait-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(28, 28, 30, 0.06);
  pointer-events: none;
}

.portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.92);
  transition: transform 350ms ease, filter 350ms ease;
}

.team-card:hover .portrait-wrap img {
  transform: scale(1.025);
  filter: saturate(1);
}

.portrait-wrap span {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 11px 14px;
  background: var(--burgundy);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.team-card-copy {
  padding: 25px 4px 0;
}

.team-card h3,
.support-copy h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.1vw, 34px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.team-areas {
  margin: 13px 0 !important;
  color: var(--burgundy) !important;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5 !important;
  text-transform: uppercase;
}

.team-card-copy > p:last-child,
.support-copy > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.support-card {
  margin-top: 90px;
  min-height: 460px;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  background: var(--white);
}

.support-image {
  min-height: 460px;
  overflow: hidden;
}

.support-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.support-copy {
  padding: clamp(50px, 7vw, 105px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.support-copy h3 {
  font-size: clamp(38px, 4vw, 62px);
}

.support-copy > p:last-child {
  max-width: 580px;
  margin-top: 22px;
  font-size: 15px;
}

.method-section {
  padding: clamp(100px, 11vw, 165px) 0;
  background: var(--ink);
  color: var(--white);
}

.method-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(80px, 11vw, 170px);
}

.method-intro {
  position: sticky;
  top: 150px;
  align-self: start;
}

.method-intro > p:last-child {
  max-width: 520px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 15px;
  line-height: 1.75;
}

.method-steps {
  border-top: 1px solid var(--line-light);
}

.method-steps article {
  min-height: 230px;
  padding: 42px 0;
  border-bottom: 1px solid var(--line-light);
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 30px;
}

.method-steps > article > span {
  color: #db777b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.method-steps h3 {
  margin: -8px 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 2.7vw, 42px);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.method-steps p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  line-height: 1.75;
}

.values-section {
  padding: clamp(100px, 11vw, 155px) 0;
  background: var(--paper);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(80px, 12vw, 180px);
  align-items: start;
}

.values-grid ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.values-grid li {
  min-height: 86px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2vw, 30px);
}

.values-grid li span {
  color: var(--burgundy);
  font-family: var(--font-sans), Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.faq-section {
  padding: clamp(100px, 11vw, 155px) 0;
  background: var(--paper-deep);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(70px, 11vw, 170px);
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding-right: 40px;
  position: relative;
  list-style: none;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2vw, 29px);
  line-height: 1.3;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: -3px;
  color: var(--burgundy);
  font-family: var(--font-sans), Arial, sans-serif;
  font-size: 25px;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.contact-section {
  padding: clamp(100px, 11vw, 160px) 0;
  background: var(--burgundy);
  color: var(--white);
}

.contact-section .section-index {
  color: rgba(255, 255, 255, 0.62);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(75px, 12vw, 190px);
}

.contact-copy > p:not(.section-index):not(.response-note) {
  max-width: 650px;
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.55;
}

.contact-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button-light {
  background: var(--white);
  color: var(--burgundy);
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.52);
  color: var(--white);
}

.button-outline:hover,
.button-outline:focus-visible {
  background: var(--white);
  color: var(--burgundy);
}

.response-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-details {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  font-style: normal;
}

.contact-details > div {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 25px;
}

.contact-details span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-details p {
  margin: -5px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.65;
}

.contact-details a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
}

.site-footer {
  background: var(--paper);
}

.footer-top {
  min-height: 260px;
  padding: 44px 0;
  display: grid;
  grid-template-columns: 160px 1fr 160px;
  gap: clamp(45px, 8vw, 120px);
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.footer-brand img {
  width: 112px;
}

.footer-top > p {
  max-width: 680px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.4;
}

.footer-back {
  justify-self: end;
  color: var(--burgundy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-bottom {
  min-height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.footer-bottom p,
.footer-bottom a {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-bottom > div {
  display: flex;
  gap: 26px;
}

.gestoria-header-inner {
  min-height: 108px;
  display: grid;
  grid-template-columns: 260px 1fr 170px;
  align-items: center;
  gap: 34px;
}

.gestoria-brand-pair {
  display: flex;
  align-items: center;
  gap: 17px;
}

.gestoria-brand-pair > span {
  width: 1px;
  height: 50px;
  background: var(--line);
}

.pair-leyux {
  width: 58px;
}

.pair-ga {
  width: 64px;
  border-radius: 50%;
}

.gestoria-hero {
  padding: clamp(82px, 9vw, 132px) 0;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.gestoria-hero::after {
  content: "GA";
  position: absolute;
  right: -0.06em;
  bottom: -0.28em;
  color: rgba(255, 255, 255, 0.025);
  font-family: Georgia, "Times New Roman", serif;
  font-size: min(42vw, 610px);
  line-height: 1;
  pointer-events: none;
}

.gestoria-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: clamp(70px, 10vw, 160px);
  align-items: center;
}

.gestoria-hero-copy h1 {
  max-width: 840px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 7vw, 108px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.gestoria-hero-copy h1 .hero-accent {
  display: block;
  margin-top: 0.12em;
  color: #efd7d8;
  font-style: italic;
}

.gestoria-hero-copy > p:not(.eyebrow) {
  max-width: 690px;
  margin: 36px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.62;
}

.gestoria-mail-link {
  display: grid;
  gap: 5px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.gestoria-mail-link span {
  color: rgba(255, 255, 255, 0.54);
  font-family: var(--font-sans), Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gestoria-credential {
  min-height: 510px;
  padding: 48px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper);
  color: var(--ink);
}

.gestoria-credential::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(158, 23, 28, 0.2);
  pointer-events: none;
}

.gestoria-credential > img {
  width: 170px;
  border-radius: 50%;
}

.gestoria-credential > div {
  position: relative;
  z-index: 1;
}

.gestoria-credential span {
  color: var(--burgundy);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gestoria-credential strong {
  display: block;
  margin-top: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.3vw, 37px);
  font-weight: 400;
  line-height: 1.2;
}

.gestoria-credential p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.gestoria-proof {
  background: var(--burgundy);
  color: var(--white);
}

.gestoria-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.gestoria-proof-grid p {
  min-height: 118px;
  margin: 0;
  padding: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.gestoria-proof-grid strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
}

.gestoria-proof-grid span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gestoria-services {
  padding: clamp(100px, 11vw, 165px) 0;
  background: var(--paper);
}

.gestoria-services-heading {
  margin-bottom: 72px;
  display: grid;
  grid-template-columns: 0.35fr 1.2fr 0.55fr;
  gap: clamp(42px, 7vw, 110px);
  align-items: end;
}

.gestoria-services-heading .section-index {
  align-self: start;
}

.gestoria-services-heading h2,
.gestoria-process h2,
.gestoria-contact h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(43px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.03;
}

.gestoria-services-heading > p:last-child {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

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

.gestoria-service-columns > article {
  min-width: 0;
  padding: clamp(34px, 5vw, 68px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 130px;
}

.service-column-heading {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  align-items: start;
}

.service-column-heading > span {
  color: var(--burgundy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.service-column-heading p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.service-column-heading h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.gestoria-service-columns ul {
  list-style: none;
  margin: 42px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.gestoria-service-columns li {
  min-height: 60px;
  padding: 15px 0 15px 25px;
  position: relative;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.gestoria-service-columns li::before {
  content: "";
  width: 6px;
  height: 6px;
  position: absolute;
  left: 0;
  background: var(--burgundy);
  border-radius: 50%;
}

.gestoria-process {
  padding: clamp(100px, 11vw, 165px) 0;
  background: var(--ink);
  color: var(--white);
}

.gestoria-process-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(80px, 11vw, 170px);
  align-items: start;
}

.gestoria-process-grid > ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
}

.gestoria-process-grid li {
  min-height: 155px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line-light);
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 26px;
}

.gestoria-process-grid li > span {
  color: #db777b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.gestoria-process-grid strong {
  display: block;
  margin-top: -6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 400;
}

.gestoria-process-grid li p {
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  line-height: 1.65;
}

.gestoria-contact {
  padding: clamp(100px, 11vw, 155px) 0;
  background: var(--burgundy);
  color: var(--white);
}

.gestoria-contact .section-index {
  color: rgba(255, 255, 255, 0.62);
}

.gestoria-contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(75px, 12vw, 190px);
  align-items: end;
}

.gestoria-contact-grid > div > p:not(.section-index) {
  max-width: 600px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.55;
}

.gestoria-contact address {
  margin: 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.38);
  font-style: normal;
}

.gestoria-contact address span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.gestoria-contact address p {
  margin: 18px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
}

.footer-pair {
  width: 190px;
}

.leyux-content-page {
  min-height: 62vh;
  padding: clamp(80px, 10vw, 150px) 0;
  background: var(--paper);
}

.leyux-content-page article {
  max-width: 920px;
}

.breadcrumbs {
  margin: 0 0 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: var(--burgundy);
}

.leyux-content-page h1 {
  margin: 0 0 48px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 6vw, 82px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.03;
}

.leyux-content-page .entry-content {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.85;
}

.leyux-content-page .entry-content > p,
.leyux-content-page .entry-content > ul,
.leyux-content-page .entry-content > ol {
  max-width: 800px;
}

.leyux-content-page .entry-content ul,
.leyux-content-page .entry-content ol {
  margin: 1.25em 0;
  padding-left: 1.3em;
}

.leyux-content-page .entry-content li {
  margin: 0.45em 0;
  padding-left: 0.25em;
}

.leyux-content-page .legal-lead {
  margin: 0 0 2.25em;
  padding-left: 24px;
  border-left: 2px solid var(--burgundy);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(21px, 2.3vw, 29px);
  line-height: 1.55;
}

.leyux-content-page .legal-updated {
  margin: -20px 0 42px;
  color: var(--muted);
  font-size: 13px;
}

.leyux-content-page .entry-content h2,
.leyux-content-page .entry-content h3 {
  margin: 2em 0 0.6em;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.2;
}

.leyux-content-page .entry-content h2 {
  font-size: clamp(30px, 3vw, 45px);
}

.leyux-content-page .entry-content a {
  color: var(--burgundy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.leyux-content-page .entry-content table {
  width: 100%;
  border-collapse: collapse;
}

.legal-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.leyux-content-page .entry-content th {
  background: var(--paper-deep);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.leyux-content-page .entry-content th,
.leyux-content-page .entry-content td {
  padding: 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.service-related {
  margin-top: clamp(60px, 8vw, 100px);
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.service-related > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-related a {
  padding: 10px 13px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.service-related a:hover,
.service-related a:focus-visible {
  border-color: var(--burgundy);
  background: var(--white);
  color: var(--burgundy);
}

.service-cta {
  margin-top: clamp(70px, 9vw, 120px);
  padding: clamp(34px, 6vw, 70px);
  background: var(--ink);
  color: var(--white);
}

.service-cta h2 {
  margin: 12px 0 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 55px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.service-cta > p:not(.section-index) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.75;
}

.service-cta .hero-actions {
  margin-top: 32px;
}

.service-cta .button-link {
  color: var(--white);
}

/* Blog y actualidad jurídica */
.home-blog-section {
  padding: clamp(100px, 11vw, 155px) 0;
  background: var(--white);
}

.home-blog-heading,
.blog-listing-heading {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(60px, 10vw, 150px);
  align-items: end;
}

.home-blog-heading h2,
.blog-listing-heading h2,
.related-heading h2 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.home-blog-heading > div:last-child > p {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.text-link {
  width: fit-content;
  margin-top: 24px;
  padding-bottom: 7px;
  display: inline-flex;
  gap: 18px;
  border-bottom: 1px solid var(--burgundy);
  color: var(--burgundy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-blog-grid {
  margin-top: 66px;
}

.home-blog-empty {
  margin-top: 58px;
  padding: 38px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.home-blog-empty p {
  margin: 0;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
}

.blog-hero {
  padding: clamp(90px, 10vw, 150px) 0;
  background: var(--ink);
  color: var(--white);
}

.blog-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.65fr;
  gap: clamp(70px, 12vw, 190px);
  align-items: end;
}

.blog-hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(55px, 6.7vw, 96px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.blog-hero h1 span {
  margin-top: 0.12em;
  display: block;
  color: #efd7d8;
  font-style: italic;
}

.blog-hero-grid > p,
.blog-archive-description {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.6;
}

.blog-archive-hero {
  padding: clamp(75px, 8vw, 118px) 0;
}

.blog-archive-hero h1 {
  font-size: clamp(48px, 5.8vw, 82px);
}

.breadcrumbs-dark {
  color: rgba(255, 255, 255, 0.56);
}

.breadcrumbs-dark a {
  color: #efd7d8;
}

.blog-archive-description p {
  margin: 0;
}

.blog-listing {
  min-height: 50vh;
  padding: clamp(85px, 10vw, 145px) 0;
  background: var(--paper);
}

.blog-listing-heading {
  margin-bottom: 62px;
}

.blog-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.blog-category-nav a {
  padding: 10px 13px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.04em;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.blog-category-nav a:hover,
.blog-category-nav a:focus-visible,
.blog-category-nav a.is-active {
  border-color: var(--burgundy);
  background: var(--burgundy);
  color: var(--white);
}

.blog-category-nav-wide {
  margin-bottom: 58px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 48px);
}

.blog-card {
  min-width: 0;
  border-top: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
}

.blog-card-media {
  aspect-ratio: 4 / 3;
  margin-top: 16px;
  display: block;
  overflow: hidden;
  background: var(--paper-deep);
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.025);
}

.blog-card-placeholder {
  width: 100%;
  height: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(145deg, #f1e7e3 0%, #d9c3bd 52%, #8e161b 160%);
  color: var(--burgundy-dark);
}

.blog-card-placeholder > span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4vw, 58px);
  letter-spacing: -0.05em;
}

.blog-card-placeholder small {
  margin-top: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.blog-card-copy {
  padding: 24px 2px 0;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.blog-card-meta {
  min-height: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px 16px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.blog-card-meta a {
  color: var(--burgundy);
}

.blog-card h2 {
  margin: 13px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.3vw, 35px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.blog-card-copy > p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.blog-card-link {
  width: fit-content;
  margin-top: 22px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--burgundy);
  color: var(--burgundy);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-empty {
  padding: clamp(55px, 8vw, 95px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
}

.blog-empty h2 {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.blog-empty > p:not(.section-index) {
  max-width: 650px;
  margin: 22px 0 32px;
  color: var(--muted);
  line-height: 1.75;
}

.navigation.pagination {
  margin-top: 70px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.page-numbers {
  min-width: 42px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-numbers.current,
.page-numbers:hover,
.page-numbers:focus-visible {
  border-color: var(--burgundy);
  background: var(--burgundy);
  color: var(--white);
}

/* Entrada individual */
.article-hero {
  padding: clamp(72px, 8vw, 120px) 0;
  background: var(--paper-deep);
}

.article-hero-inner.has-image {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: clamp(55px, 8vw, 120px);
  align-items: center;
}

.article-hero-copy {
  max-width: 940px;
}

.article-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(47px, 5.8vw, 82px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.article-deck {
  max-width: 780px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.6;
}

.article-byline {
  margin-top: 35px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-featured-image {
  min-height: 470px;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
}

.article-featured-image img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.article-layout {
  padding-top: clamp(75px, 9vw, 130px);
  padding-bottom: clamp(85px, 10vw, 145px);
  display: grid;
  grid-template-columns: 235px minmax(0, 800px);
  justify-content: center;
  gap: clamp(55px, 8vw, 125px);
  align-items: start;
}

.article-sidebar {
  position: sticky;
  top: 145px;
  border-top: 1px solid var(--line);
}

.article-sidebar > div {
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}

.article-sidebar span {
  display: block;
  color: var(--burgundy);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.article-sidebar strong {
  margin-top: 10px;
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 400;
}

.article-sidebar p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.article-category-links a {
  color: var(--burgundy);
}

.article-content {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.88;
}

.article-content > :first-child {
  margin-top: 0;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 2em 0 0.65em;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.2;
}

.article-content h2 {
  font-size: clamp(31px, 3.2vw, 46px);
  letter-spacing: -0.035em;
}

.article-content h3 {
  font-size: clamp(24px, 2.4vw, 32px);
}

.article-content ul,
.article-content ol {
  padding-left: 1.35em;
}

.article-content li {
  margin: 0.5em 0;
  padding-left: 0.25em;
}

.article-content blockquote {
  margin: 2.2em 0;
  padding: 8px 0 8px 28px;
  border-left: 2px solid var(--burgundy);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.5vw, 31px);
  line-height: 1.5;
}

.article-content a {
  color: var(--burgundy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content img,
.article-content figure {
  height: auto;
  max-width: 100%;
}

.article-content figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.article-content th,
.article-content td {
  padding: 13px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-content th {
  background: var(--paper-deep);
}

.article-notice {
  margin-top: 60px;
  padding: 25px 28px;
  border-left: 2px solid var(--burgundy);
  background: var(--paper-deep);
}

.article-notice strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 400;
}

.article-notice p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.related-posts {
  padding: clamp(85px, 10vw, 145px) 0;
  background: var(--paper-deep);
}

.related-heading {
  margin-bottom: 55px;
}

.article-cta {
  padding: clamp(80px, 9vw, 125px) 0;
  background: var(--burgundy);
  color: var(--white);
}

.article-cta .section-index {
  color: rgba(255, 255, 255, 0.6);
}

.article-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(50px, 10vw, 150px);
  align-items: end;
}

.article-cta h2 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.article-cta-inner > div:first-child > p:last-child {
  max-width: 670px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.article-cta-actions {
  min-width: 255px;
  display: grid;
  gap: 12px;
}

@media (max-width: 640px) {
  .leyux-content-page h1 {
    margin-bottom: 36px;
  }

  .leyux-content-page .entry-content {
    font-size: 15px;
  }

  .leyux-content-page .entry-content table {
    min-width: 690px;
  }

  .service-cta {
    margin-inline: -22px;
  }
}

@media (max-width: 1180px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

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

  .gestoria-header-inner {
    grid-template-columns: 1fr auto;
  }

  .mobile-menu {
    display: block;
  }

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

  .practice-card:last-child {
    grid-column: auto;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 22px;
  }
}

@media (max-width: 900px) {
  .hero-layout,
  .firm-grid,
  .gestoria-feature-grid,
  .gestoria-hero-grid,
  .gestoria-services-heading,
  .gestoria-process-grid,
  .gestoria-contact-grid,
  .section-heading,
  .team-heading,
  .position-grid,
  .method-grid,
  .values-grid,
  .faq-grid,
  .contact-grid,
  .home-blog-heading,
  .blog-listing-heading,
  .blog-hero-grid,
  .article-hero-inner.has-image,
  .article-layout,
  .article-cta-inner {
    grid-template-columns: 1fr;
  }

  .home-blog-heading,
  .blog-listing-heading,
  .blog-hero-grid,
  .article-hero-inner.has-image,
  .article-cta-inner {
    gap: 42px;
  }

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

  .article-featured-image,
  .article-featured-image img {
    min-height: 420px;
  }

  .article-layout {
    gap: 58px;
  }

  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .article-sidebar > div {
    border-top: 1px solid var(--line);
  }

  .hero-copy {
    padding: 88px 0 22px;
  }

  .hero-team {
    min-height: 480px;
    margin-top: 0;
  }

  .gestoria-lockup {
    width: min(100%, 520px);
  }

  .gestoria-credential {
    width: min(100%, 560px);
  }

  .gestoria-services-heading {
    gap: 24px;
  }

  .gestoria-services-heading > p:last-child {
    max-width: 620px;
  }

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

  .firm-media {
    width: min(100%, 520px);
  }

  .section-heading,
  .team-heading {
    gap: 28px;
  }

  .section-heading > p,
  .team-heading > p {
    max-width: 620px;
  }

  .position-note {
    max-width: 430px;
  }

  .method-intro {
    position: static;
  }

  .support-card {
    grid-template-columns: 0.9fr 1.1fr;
  }

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

  .footer-back {
    display: none;
  }
}

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

  .shell {
    width: min(100% - 36px, 1420px);
  }

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

  .gestoria-header-inner {
    min-height: 84px;
  }

  .gestoria-brand-pair {
    gap: 11px;
  }

  .gestoria-brand-pair > span {
    height: 40px;
  }

  .pair-leyux {
    width: 45px;
  }

  .pair-ga {
    width: 50px;
  }

  .brand {
    width: 62px;
    height: 70px;
  }

  .brand img {
    width: 58px;
  }

  .mobile-menu nav {
    top: 75px;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    min-height: auto;
    gap: 0;
  }

  .hero-copy {
    padding: 70px 0 48px;
  }

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

  .hero-intro {
    margin-top: 27px;
    font-size: 18px;
  }

  .hero-actions,
  .contact-actions,
  .article-cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .button-link {
    width: fit-content;
  }

  .hero-team {
    min-height: 310px;
    margin-inline: -18px;
    width: calc(100% + 36px);
  }

  .hero-team::before {
    inset: 10px;
  }

  .hero-team figcaption {
    margin: 12px 18px 18px;
  }

  .proof-bar {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .proof-bar > div {
    min-height: 112px;
  }

  .firm-grid {
    gap: 70px;
  }

  .gestoria-feature-grid {
    gap: 56px;
  }

  .gestoria-lockup {
    min-height: 390px;
    padding: 45px;
  }

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

  .gestoria-direct-contact {
    width: fit-content;
  }

  .firm-copy h2,
  .gestoria-feature-copy h2,
  .gestoria-services-heading h2,
  .gestoria-process h2,
  .gestoria-contact h2,
  .faq-grid h2,
  .section-heading h2,
  .team-heading h2,
  .method-intro h2,
  .values-grid h2,
  .contact-copy h2 {
    font-size: clamp(39px, 12vw, 55px);
  }

  .gestoria-hero {
    padding: 68px 0 72px;
  }

  .gestoria-hero-grid {
    gap: 55px;
  }

  .gestoria-hero-copy h1 {
    font-size: clamp(51px, 15vw, 74px);
  }

  .gestoria-hero-copy > p:not(.eyebrow) {
    font-size: 18px;
  }

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

  .gestoria-mail-link {
    width: fit-content;
  }

  .gestoria-credential {
    min-height: 430px;
    padding: 38px;
  }

  .gestoria-proof-grid,
  .gestoria-service-columns {
    grid-template-columns: 1fr;
  }

  .gestoria-proof-grid p {
    min-height: 98px;
  }

  .gestoria-service-columns > article {
    padding: 34px 26px;
  }

  .service-column-heading {
    grid-template-columns: 32px 1fr;
    gap: 12px;
  }

  .gestoria-process-grid {
    gap: 58px;
  }

  .gestoria-contact-grid {
    gap: 58px;
  }

  .firm-copy blockquote {
    padding-left: 20px;
    font-size: 23px;
  }

  .practice-grid,
  .team-grid,
  .blog-grid,
  .article-sidebar {
    grid-template-columns: 1fr;
  }

  .home-blog-heading h2,
  .blog-listing-heading h2,
  .related-heading h2,
  .article-cta h2 {
    font-size: clamp(39px, 12vw, 55px);
  }

  .home-blog-grid {
    margin-top: 46px;
  }

  .blog-listing-heading {
    margin-bottom: 46px;
  }

  .home-blog-empty {
    align-items: stretch;
    flex-direction: column;
  }

  .blog-hero {
    padding: 68px 0 78px;
  }

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

  .blog-hero-grid > p,
  .blog-archive-description {
    font-size: 18px;
  }

  .blog-category-nav {
    flex-wrap: nowrap;
    margin-inline: -18px;
    padding-inline: 18px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .blog-category-nav a {
    flex: 0 0 auto;
  }

  .blog-card h2 {
    font-size: 31px;
  }

  .blog-empty {
    margin-inline: -18px;
    padding: 45px 24px;
  }

  .article-hero {
    padding: 58px 0 72px;
  }

  .article-hero h1 {
    font-size: clamp(43px, 13vw, 61px);
  }

  .article-featured-image {
    margin-inline: -18px;
  }

  .article-featured-image,
  .article-featured-image img {
    min-height: 310px;
  }

  .article-layout {
    padding-top: 70px;
  }

  .article-sidebar {
    gap: 0;
  }

  .article-content {
    font-size: 16px;
  }

  .article-content table {
    min-width: 680px;
  }

  .article-main {
    min-width: 0;
    overflow: hidden;
  }

  .article-cta-actions {
    min-width: 0;
  }

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

  .position-grid {
    gap: 35px;
  }

  .position-quote {
    font-size: clamp(38px, 11.5vw, 54px);
  }

  .team-grid {
    gap: 54px;
  }

  .support-card {
    margin-top: 75px;
    grid-template-columns: 1fr;
  }

  .support-image {
    min-height: 420px;
  }

  .support-copy {
    padding: 42px 28px;
  }

  .method-grid {
    gap: 65px;
  }

  .method-steps article {
    min-height: 220px;
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }

  .contact-details > div {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-top {
    min-height: 320px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand img {
    width: 88px;
  }

  .footer-bottom {
    padding: 28px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom > div {
    flex-wrap: wrap;
    gap: 15px 20px;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

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

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