/*
Theme Name: A&N Abogados · Ascoy & CIA
Version: 1.0.5
Description: Diseño del estudio adaptado al editor de WordPress. Páginas, cabecera, pie, imágenes y blog editables.
Author: A&N Abogados
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: anabogados
*/
:root {
  --navy-950: #083224;
  --navy-900: #083224;
  --navy-850: #083224;
  --navy-800: #083224;
  --ink: #20242c;
  --slate: #5e626a;
  --muted: #858891;
  --line: #ded7cb;
  --cream: #f5efe4;
  --cream-deep: #ebe0cc;
  --paper: #fbfaf7;
  --white: #ffffff;
  --gold: #b68b4d;
  --gold-dark: #8f682f;
  --gold-light: #d9be8e;
  --success: #426c5b;
  --shadow: 0 24px 70px rgba(8, 50, 36, 0.13);
  --shadow-soft: 0 16px 44px rgba(8, 50, 36, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

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

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

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

h1,
h2,
h3,
p,
blockquote,
figure,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.8rem);
}

h2 {
  font-size: clamp(2.15rem, 4vw, 3.65rem);
}

h3 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

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

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

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

.shell.narrow {
  width: min(820px, calc(100% - 48px));
}

.section {
  padding: 112px 0;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--gold-dark);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

.utility-bar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

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

.utility-inner div {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(8, 50, 36, 0.08);
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(14px);
}

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

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

.brand img {
  width: 96px;
  height: 91px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #454a53;
  font-size: 0.81rem;
  font-weight: 700;
}

.desktop-nav > a:not(.nav-cta) {
  position: relative;
  padding: 31px 0;
}

.desktop-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.desktop-nav > a:not(.nav-cta):hover::after,
.desktop-nav > a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 12px 18px;
  border: 1px solid var(--navy-900);
  background: var(--navy-900);
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--navy-950);
}

.mobile-nav {
  display: none;
  position: relative;
}

.landing-header-cta {
  display: none;
  padding: 10px 14px;
  border: 1px solid var(--navy-900);
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 800;
}

.mobile-nav summary {
  padding: 10px 14px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  list-style: none;
  text-transform: uppercase;
}

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

.mobile-nav nav {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  width: min(290px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.mobile-nav nav a {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 700;
}

.mobile-nav nav a:last-child {
  margin-top: 10px;
  border: 0;
  background: var(--navy-900);
  color: var(--white);
  text-align: center;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

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

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

.button.gold:hover {
  background: #c49a59;
}

.button.navy {
  background: var(--navy-900);
  color: var(--white);
}

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

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

.button.outline-light:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy-950);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
  color: var(--navy-950);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.text-link.light {
  color: var(--white);
}

.home-hero,
.service-hero,
.page-hero,
.article-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(182, 139, 77, 0.16), transparent 29%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.home-hero::before,
.service-hero::before,
.page-hero::before,
.article-hero::before {
  position: absolute;
  top: -180px;
  right: -140px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.home-hero::after,
.service-hero::after {
  position: absolute;
  bottom: -300px;
  left: 43%;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(182, 139, 77, 0.15);
  border-radius: 50%;
  content: "";
}

.home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 640px;
  align-items: center;
  grid-template-columns: minmax(0, 920px);
  padding-top: 68px;
  padding-bottom: 72px;
}

.hero-copy h1,
.service-hero h1,
.page-hero h1,
.article-hero h1 {
  margin-bottom: 28px;
  color: var(--white);
}

.hero-copy h1 {
  max-width: 720px;
  font-size: clamp(3.2rem, 5.9vw, 5.65rem);
}

.hero-copy h1 em {
  color: var(--gold-light);
  font-weight: inherit;
}

.hero-summary {
  max-width: 660px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
  line-height: 1.8;
}

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

.hero-reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 24px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  list-style: none;
}

.hero-reassurance li {
  position: relative;
  padding-left: 16px;
}

.hero-reassurance li::before {
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-light);
  content: "";
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin: 34px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  list-style: none;
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-proof li span {
  color: var(--gold-light);
}


.trust-strip,
.fact-strip {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

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

.trust-grid > div,
.fact-grid > div {
  display: grid;
  min-height: 118px;
  align-content: center;
  padding: 24px 30px;
  border-right: 1px solid var(--line);
}

.trust-grid > div:first-child,
.fact-grid > div:first-child {
  border-left: 1px solid var(--line);
}

.trust-grid strong,
.fact-grid strong {
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 500;
}

.trust-grid span,
.fact-grid span {
  margin-top: 5px;
  color: var(--slate);
  font-size: 0.69rem;
  line-height: 1.4;
}

.section-heading {
  margin-bottom: 50px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.split-heading {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.58fr);
  gap: 80px;
}

.split-heading > p {
  margin: 0 0 8px;
}

.centered-heading {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

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

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

.service-card {
  position: relative;
  min-height: 360px;
  padding: 46px 44px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.service-card:hover {
  z-index: 1;
  background: var(--cream);
  transform: translateY(-4px);
}

.service-number {
  position: absolute;
  top: 34px;
  right: 38px;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
}

.service-card h3 {
  max-width: 420px;
  margin: 38px 0 22px;
  font-size: 2.25rem;
}

.service-card > p:not(.eyebrow) {
  max-width: 470px;
}

.service-card > a {
  position: absolute;
  bottom: 42px;
  left: 44px;
  display: inline-flex;
  gap: 10px;
  border-bottom: 1px solid var(--gold);
  color: var(--navy-950);
  font-size: 0.77rem;
  font-weight: 800;
}

.human-section {
  background: var(--cream);
}

.human-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.human-panel {
  padding: 72px 64px;
  background: var(--navy-900);
}

.human-panel h2 {
  margin-bottom: 30px;
  color: var(--white);
}

.human-panel > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.02rem;
  line-height: 1.85;
}

.process-list {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
  list-style: none;
  grid-template-columns: repeat(2, 1fr);
}

.process-list li {
  min-height: 260px;
  padding: 38px 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list li > span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.process-list h3 {
  margin: 42px 0 14px;
}

.process-list p {
  margin: 0;
  font-size: 0.88rem;
}

.team-preview {
  background: var(--paper);
}

.team-preview-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-card {
  border: 1px solid var(--line);
  background: var(--white);
}

.team-photo {
  display: grid;
  height: 410px;
  overflow: hidden;
  place-items: center;
  background:
    linear-gradient(145deg, var(--navy-900), var(--navy-800));
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--cream);
}

.team-card > div:last-child {
  padding: 30px;
}

.team-card .eyebrow {
  min-height: 34px;
  margin-bottom: 12px;
  font-size: 0.62rem;
}

.team-card h3 {
  margin-bottom: 20px;
  font-size: 1.75rem;
}

.team-card > div:last-child > p:last-child {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  font-size: 0.84rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.center-action {
  margin-top: 42px;
  text-align: center;
}

.testimonials-section {
  background: var(--cream);
}

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

.testimonials-grid blockquote {
  min-height: 310px;
  margin-bottom: 0;
  padding: 38px 34px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.stars {
  margin-bottom: 30px;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.testimonials-grid blockquote p {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  line-height: 1.7;
}

.testimonials-grid cite {
  display: block;
  margin-top: 26px;
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.home-contact {
  background:
    linear-gradient(90deg, var(--navy-900) 0%, var(--navy-900) 50%, var(--paper) 50%);
}

.contact-layout {
  display: grid;
  align-items: center;
  grid-template-columns: 0.86fr 1.14fr;
}

.contact-intro {
  padding: 64px 72px 64px 0;
}

.contact-intro h2 {
  margin-bottom: 28px;
  color: var(--white);
}

.contact-intro > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
}

.contact-reassurance {
  display: flex;
  gap: 14px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.contact-reassurance > span {
  color: var(--gold-light);
}

.contact-reassurance p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
}

.contact-reassurance strong {
  display: block;
  color: var(--white);
}

.contact-form {
  padding: 56px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.home-contact .contact-form {
  margin-left: 58px;
}

.form-heading h2 {
  margin-bottom: 16px;
  font-size: 2.4rem;
}

.form-heading > p:last-child {
  margin-bottom: 28px;
  font-size: 0.86rem;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: #4b4f58;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  transition:
    border 160ms ease,
    box-shadow 160ms ease;
}

.contact-form input,
.contact-form select {
  min-height: 52px;
  padding: 0 15px;
}

.contact-form textarea {
  min-height: 112px;
  padding: 14px 15px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(182, 139, 77, 0.14);
}

.form-submit {
  width: 100%;
}

.privacy-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.66rem;
  text-align: center;
}

.service-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 610px;
  align-items: center;
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.58fr);
  gap: 86px;
  padding-top: 90px;
  padding-bottom: 90px;
}

.service-hero h1 {
  max-width: 840px;
  font-size: clamp(3.1rem, 5.6vw, 5.1rem);
}

.hero-check-card {
  position: relative;
  padding: 46px 38px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(7px);
}

.hero-check-card .card-number {
  display: inline-grid;
  width: 58px;
  height: 58px;
  margin-bottom: 44px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  place-items: center;
}

.hero-check-card h2 {
  margin-bottom: 30px;
  color: var(--white);
  font-size: 2.2rem;
}

.hero-check-card ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.85rem;
  list-style: none;
}

.hero-check-card li {
  display: flex;
  gap: 12px;
}

.hero-check-card li span {
  color: var(--gold-light);
}

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

.fact-grid > div {
  min-height: 126px;
}

.service-content {
  background: var(--paper);
}

.despido-landing .service-content {
  padding: 36px 0;
}

.despido-landing .service-section {
  padding: 62px 0;
}

.service-section {
  display: grid;
  max-width: 1050px;
  margin: 0 auto;
  padding: 74px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 150px minmax(0, 1fr);
  scroll-margin-top: 110px;
}

.service-section:last-child {
  border-bottom: 0;
}

.section-index {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-top: 9px;
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
}

.section-index i {
  width: 56px;
  height: 1px;
  margin-top: 12px;
  background: var(--gold);
}

.service-section > div:last-child {
  max-width: 760px;
}

.service-section h2 {
  margin-bottom: 26px;
  font-size: clamp(2.1rem, 3.8vw, 3.35rem);
}

.service-section > div:last-child > p:not(.eyebrow) {
  font-size: 1rem;
  line-height: 1.85;
}

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

.clean-list li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: #43474f;
  font-size: 0.84rem;
}

.clean-list li span {
  color: var(--gold-dark);
}

.legal-deadline-note {
  border-bottom: 1px solid var(--line);
  background: #eee5d4;
}

.legal-deadline-note .shell {
  padding-top: 22px;
  padding-bottom: 22px;
  color: #5b5449;
  font-size: 0.75rem;
  line-height: 1.65;
}

.legal-deadline-note strong {
  color: var(--navy-950);
}

.legal-deadline-note a {
  color: var(--navy-950);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.landing-lawyer {
  padding: 96px 0;
  background: var(--white);
}

.landing-lawyer-grid {
  display: grid;
  min-height: 560px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
}

.landing-lawyer-photo {
  overflow: hidden;
  min-height: 560px;
  background: var(--cream);
}

.landing-lawyer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.landing-lawyer-copy {
  display: grid;
  align-content: center;
  padding: 70px;
}

.landing-lawyer-copy h2 {
  margin-bottom: 14px;
}

.landing-lawyer-copy > p:not(.eyebrow):not(.lawyer-role) {
  margin-bottom: 28px;
  font-size: 0.96rem;
  line-height: 1.85;
}

.landing-lawyer-copy .lawyer-role {
  margin-bottom: 24px;
  color: var(--gold-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lawyer-assurances {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.lawyer-assurances li {
  position: relative;
  padding-left: 24px;
  color: #43474f;
  font-size: 0.82rem;
}

.lawyer-assurances li::before {
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  content: "✓";
}

.landing-practical {
  background: var(--cream);
}

.landing-practical-heading {
  max-width: 800px;
  margin-bottom: 48px;
}

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

.landing-practical-heading > p:last-child {
  max-width: 660px;
  margin-bottom: 0;
}

.landing-practical-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.practical-card {
  position: relative;
  min-height: 520px;
  padding: 48px;
  border: 1px solid var(--line);
  background: var(--white);
}

.practical-card > span {
  display: inline-grid;
  width: 46px;
  height: 46px;
  margin-bottom: 52px;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  place-items: center;
}

.practical-card h3 {
  max-width: 430px;
  margin-bottom: 30px;
  font-size: 2.15rem;
}

.practical-card ul,
.practical-card ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.practical-card ul li {
  padding: 14px 8px 14px 20px;
  border-top: 1px solid var(--line);
  color: #454a53;
  font-size: 0.82rem;
}

.practical-card ul li::before {
  margin-left: -20px;
  padding-right: 9px;
  color: var(--gold-dark);
  content: "→";
}

.process-card ol {
  counter-reset: steps;
}

.process-card ol li {
  position: relative;
  padding: 18px 0 18px 46px;
  border-top: 1px solid var(--line);
  counter-increment: steps;
}

.process-card ol li::before {
  position: absolute;
  top: 18px;
  left: 0;
  color: var(--gold-dark);
  content: "0" counter(steps);
  font-family: Georgia, "Times New Roman", serif;
}

.process-card strong,
.process-card small {
  display: block;
}

.process-card strong {
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.process-card small {
  margin-top: 5px;
  color: var(--slate);
  font-size: 0.75rem;
  line-height: 1.55;
}

.practical-cta {
  margin-top: 34px;
}

.landing-mobile-cta {
  display: none;
}

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

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 100px;
}

.faq-grid > div:first-child h2 {
  margin-bottom: 24px;
}

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

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

.faq-list summary {
  position: relative;
  padding: 25px 44px 25px 0;
  color: var(--navy-950);
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.24rem;
  font-weight: 600;
  list-style: none;
}

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

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

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

.faq-list details p {
  padding: 0 46px 24px 0;
  font-size: 0.9rem;
}

.closing-section {
  padding: 86px 0;
  background:
    linear-gradient(110deg, var(--navy-950), var(--navy-800));
}

.closing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
}

.closing-inner > div {
  max-width: 760px;
}

.closing-inner h2 {
  margin-bottom: 18px;
  color: var(--white);
}

.closing-inner p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
}

.page-hero {
  padding: 112px 0 106px;
}

.compact-hero .narrow {
  position: relative;
  z-index: 1;
  margin-left: max(24px, calc((100% - 1180px) / 2));
}

.compact-hero h1 {
  max-width: 880px;
  font-size: clamp(3rem, 5.6vw, 5rem);
}

.compact-hero p:not(.eyebrow) {
  max-width: 750px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
}

.team-page-grid {
  display: grid;
  gap: 28px;
}

.profile-card {
  display: grid;
  min-height: 470px;
  border: 1px solid var(--line);
  background: var(--white);
  grid-template-columns: 340px minmax(0, 1fr);
}

.profile-card:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.profile-card:nth-child(even) .profile-media {
  order: 2;
}

.profile-media {
  display: grid;
  overflow: hidden;
  background: linear-gradient(145deg, var(--navy-900), var(--navy-800));
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.5rem;
  place-items: center;
}

.profile-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--cream);
}

.profile-card > div:last-child {
  display: grid;
  align-content: center;
  padding: 64px;
}

.profile-card h2 {
  margin-bottom: 30px;
}

.profile-card > div:last-child > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.9;
}

.contact-page {
  background: var(--cream);
}

.contact-page .contact-layout {
  align-items: start;
  gap: 78px;
}

.contact-details {
  padding-top: 34px;
}

.contact-details h2 {
  margin-bottom: 28px;
}

.contact-details > p:not(.eyebrow) {
  font-size: 1rem;
}

.contact-details dl {
  margin-top: 46px;
}

.contact-details dl > div {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.contact-details dt {
  margin-bottom: 5px;
  color: var(--gold-dark);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-details dd {
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

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

.article-card {
  min-height: 390px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.article-card.featured {
  grid-column: span 2;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-meta span {
  color: var(--gold-dark);
}

.article-card h2 {
  margin: 50px 0 24px;
  font-size: 2rem;
}

.article-card p {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.85rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.article-card .text-link {
  margin-top: 22px;
}

.article-hero {
  padding: 110px 0 102px;
}

.article-shell {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 48px));
}

.article-hero h1 {
  margin: 28px 0;
  font-size: clamp(3rem, 5.5vw, 5.2rem);
}

.article-hero > .article-shell > p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.02rem;
}

.light-meta {
  justify-content: flex-start;
  color: rgba(255, 255, 255, 0.6);
}

.light-meta span {
  color: var(--gold-light);
}

.article-layout {
  display: grid;
  align-items: start;
  gap: 82px;
  padding-top: 92px;
  padding-bottom: 112px;
  grid-template-columns: minmax(0, 1fr) 330px;
}

.article-content {
  min-width: 0;
  color: var(--slate);
  font-size: 1rem;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin-top: 54px;
  margin-bottom: 20px;
}

.article-content h2 {
  font-size: 2.55rem;
}

.article-content h3 {
  font-size: 1.8rem;
}

.article-content p,
.article-content li {
  line-height: 1.9;
}

.article-content ul,
.article-content ol {
  margin: 25px 0;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 10px;
}

.article-content blockquote {
  margin: 42px 0;
  padding: 28px 32px;
  border-left: 3px solid var(--gold);
  background: var(--cream);
  color: var(--navy-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

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

.article-content hr {
  margin: 48px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.article-aside {
  position: sticky;
  top: 120px;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--cream);
}

.article-aside h2 {
  margin-bottom: 20px;
  font-size: 2rem;
}

.article-aside p:not(.eyebrow) {
  font-size: 0.86rem;
}

.article-aside .button {
  width: 100%;
  margin-top: 12px;
}

.legal-copy h2 {
  margin-top: 52px;
  font-size: 2.3rem;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy a {
  color: var(--gold-dark);
  text-decoration: underline;
}

.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.7);
}

.footer-main {
  display: grid;
  gap: 50px;
  padding-top: 72px;
  padding-bottom: 62px;
  grid-template-columns: 1.2fr 0.68fr 0.9fr 1fr;
}

.footer-main h2 {
  margin-bottom: 24px;
  color: var(--gold-light);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-main a {
  display: block;
  margin-bottom: 10px;
  font-size: 0.8rem;
}

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

.footer-main p {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
}

.footer-main small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.65rem;
}

.footer-logo-link {
  display: inline-block !important;
  margin-bottom: 18px !important;
}

.footer-logo {
  width: 132px;
  height: auto;
}

.footer-brand p {
  max-width: 300px;
}

.footer-action .button {
  display: inline-flex;
  margin: 6px 0 0;
  color: var(--navy-950);
}

.footer-bottom {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.64rem;
}

.footer-bottom p {
  margin: 0;
  color: inherit;
}

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

.floating-whatsapp {
  position: fixed;
  z-index: 70;
  right: 22px;
  bottom: 22px;
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: #245f4c;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
  color: var(--white);
  font-size: 0.72rem;
}

.floating-whatsapp > span {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.62rem;
  font-weight: 900;
  place-items: center;
}

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

  .desktop-nav > a:not(.nav-cta) {
    display: none;
  }

  .desktop-nav .nav-cta {
    display: inline-flex;
  }

  .mobile-nav {
    display: block;
  }

  .desktop-nav {
    margin-left: auto;
    margin-right: 14px;
  }

  .service-hero-grid {
    gap: 48px;
  }

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

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

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

@media (max-width: 820px) {
  .shell,
  .shell.narrow,
  .article-shell {
    width: min(100% - 34px, 680px);
  }

  .section {
    padding: 82px 0;
  }

  .utility-inner > span {
    display: none;
  }

  .utility-inner {
    justify-content: center;
  }

  .desktop-nav {
    display: none;
  }

  .landing-header-cta {
    display: inline-flex;
  }

  .home-hero-grid,
  .service-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-grid {
    padding-top: 78px;
  }

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

  .trust-grid > div:nth-child(3),
  .fact-grid > div:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .split-heading,
  .human-grid,
  .faq-grid,
  .contact-layout,
  .article-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

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

  .human-panel {
    padding: 54px 42px;
  }

  .home-contact {
    background: var(--navy-900);
  }

  .contact-intro {
    padding: 0;
  }

  .home-contact .contact-form {
    margin-left: 0;
  }

  .service-hero-grid {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .landing-lawyer-grid,
  .landing-practical-grid {
    grid-template-columns: 1fr;
  }

  .landing-lawyer-photo {
    min-height: 520px;
    max-height: 640px;
  }

  .landing-lawyer-copy {
    padding: 52px;
  }

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

  .service-section {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .faq-grid {
    gap: 48px;
  }

  .profile-card,
  .profile-card:nth-child(even) {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .profile-card:nth-child(even) .profile-media {
    order: 0;
  }

  .profile-card > div:last-child {
    padding: 42px;
  }

  .contact-page .contact-layout {
    gap: 44px;
  }

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

  .article-aside {
    position: static;
  }

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

  .footer-action {
    grid-column: auto;
  }
}

@media (max-width: 590px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .section {
    padding: 68px 0;
  }

  .utility-inner div {
    width: 100%;
    justify-content: space-between;
  }

  .utility-inner div > span {
    display: none;
  }

  .utility-inner {
    min-height: 38px;
  }

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

  .brand img {
    width: 74px;
    height: 70px;
  }

  .mobile-nav summary {
    padding: 9px 11px;
  }

  .home-hero-grid {
    min-height: auto;
    padding-top: 62px;
    padding-bottom: 54px;
  }

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

  .hero-summary {
    font-size: 0.98rem;
  }

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

  .hero-reassurance {
    display: grid;
    gap: 8px;
  }

  .hero-proof {
    display: grid;
  }

  .trust-grid,
  .fact-grid,
  .services-grid,
  .process-list,
  .team-preview-grid,
  .testimonials-grid,
  .blog-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .trust-grid > div,
  .fact-grid > div,
  .trust-grid > div:nth-child(3),
  .fact-grid > div:nth-child(3) {
    min-height: 92px;
    border-left: 1px solid var(--line);
  }

  .split-heading {
    gap: 25px;
  }

  .service-card {
    min-height: 340px;
    padding: 36px 28px;
  }

  .service-card > a {
    bottom: 34px;
    left: 28px;
  }

  .service-number {
    top: 28px;
    right: 26px;
  }

  .human-panel {
    padding: 46px 28px;
  }

  .process-list li {
    min-height: 230px;
  }

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

  .team-photo {
    height: 390px;
  }

  .contact-form {
    padding: 34px 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .service-hero h1 {
    font-size: 3.05rem;
  }

  .despido-landing .service-hero h1 {
    font-size: 2.75rem;
  }

  .hero-check-card {
    padding: 34px 26px;
  }

  .legal-deadline-note .shell {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .landing-lawyer {
    padding: 68px 0;
  }

  .landing-lawyer-photo {
    min-height: 430px;
  }

  .landing-lawyer-copy {
    padding: 40px 26px;
  }

  .landing-lawyer-copy h2 {
    font-size: 2.45rem;
  }

  .landing-practical-heading {
    margin-bottom: 34px;
  }

  .practical-card {
    padding: 34px 26px;
  }

  .practical-card > span {
    margin-bottom: 34px;
  }

  .practical-card h3 {
    font-size: 1.8rem;
  }

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

  .practical-cta {
    width: 100%;
  }

  .service-section {
    padding: 56px 0;
    grid-template-columns: 1fr;
  }

  .section-index {
    margin-bottom: 25px;
  }

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

  .closing-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 34px;
  }

  .closing-inner .button {
    width: 100%;
  }

  .page-hero,
  .article-hero {
    padding: 78px 0 74px;
  }

  .compact-hero .narrow {
    margin-inline: auto;
  }

  .profile-card,
  .profile-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .profile-media {
    min-height: 400px;
  }

  .profile-card > div:last-child {
    padding: 34px 26px;
  }

  .article-card.featured {
    grid-column: auto;
  }

  .article-card {
    min-height: 360px;
    padding: 30px 26px;
  }

  .article-content h2 {
    font-size: 2.1rem;
  }

  .footer-action {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
  }

  .footer-bottom div {
    flex-wrap: wrap;
  }

  .floating-whatsapp strong {
    display: none;
  }

  .floating-whatsapp {
    padding-right: 8px;
  }

  .landing-mobile-cta {
    position: fixed;
    z-index: 80;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    min-height: 66px;
    padding: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    background: var(--navy-950);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.16);
    grid-template-columns: 0.76fr 1.24fr;
  }

  .landing-mobile-cta a {
    display: grid;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .landing-mobile-cta a:first-child {
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .landing-mobile-cta a:last-child {
    background: var(--gold);
    color: var(--navy-950);
  }

  .despido-landing + .site-footer {
    padding-bottom: 66px;
  }
}

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

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

/* Integración WordPress */
.wp-site-blocks{padding:0}.wp-site-blocks>*{margin-block-start:0}.wp-block-post-content{margin:0}.wp-block-template-part{margin:0}.wp-site-blocks .wp-block-post-content>*{max-width:none}.wp-block-post-title a{color:inherit}.admin-bar .site-header{top:32px}.article-hero .wp-block-post-excerpt__excerpt,.article-hero .wp-block-post-date{color:rgba(255,255,255,.8)}.blog-pagination{display:flex;gap:12px;justify-content:center;padding-top:36px}.blog-pagination a,.blog-pagination span{padding:10px 18px;border:1px solid var(--line)}.wp-site-blocks .article-content p{font-size:1.07rem}.wp-block-post-content .alignwide{max-width:1180px;margin-inline:auto}@media(max-width:782px){.admin-bar .site-header{top:46px}}
