:root {
  --navy: #1c2d4a;
  --navy-deep: #111722;
  --gold: #c7a462;
  --gold-soft: rgba(199, 164, 98, 0.14);
  --charcoal: #242424;
  --charcoal-soft: #48484d;
  --gray: #7f7f84;
  --paper: #f4f2ed;
  --paper-deep: #e7e5e0;
  --white: #ffffff;
  --border: rgba(17, 23, 34, 0.1);
  --shadow: 0 24px 60px rgba(17, 23, 34, 0.12);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--charcoal);
  background:
    linear-gradient(180deg, rgba(199, 164, 98, 0.08), transparent 18%),
    linear-gradient(180deg, #fbfaf7 0%, var(--paper) 100%);
  font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
}

section[id],
main[id],
[id="contacto"],
[id="consulta-online"],
[id="blog"],
[id="clientes"],
[id="servicios"],
[id="costo-servicios"],
[id="nosotros"],
[id="mision"],
[id="inicio"] {
  scroll-margin-top: 82px;
}

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

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

.container {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(244, 242, 237, 0.88);
  border-bottom: 1px solid rgba(17, 23, 34, 0.08);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.site-header__inner {
  display: grid;
  grid-template-columns: 182px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 10px 0;
  transition: padding 180ms ease;
}

.site-header__brand {
  width: 182px;
  flex: 0 0 auto;
}

.site-header__brand img {
  transition: transform 180ms ease;
}

.site-header__quicklinks {
  display: none;
}

.site-header--compact {
  background: rgba(244, 242, 237, 0.96);
  box-shadow: 0 10px 30px rgba(17, 23, 34, 0.08);
}

.site-header--compact .site-header__inner {
  min-height: 68px;
  padding: 6px 0;
}

.site-header--compact .site-header__brand {
  width: 182px;
}

.site-header--compact .site-header__brand img {
  transform: scale(0.94);
  transform-origin: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--navy-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.site-header__toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(17, 23, 34, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy-deep);
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.site-header__toggle:hover,
.site-header__toggle:focus-visible {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(17, 23, 34, 0.24);
  transform: translateY(-1px);
}

.site-header__toggle-line {
  position: absolute;
  left: 12px;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    top 180ms ease;
}

.site-header__toggle-line:nth-child(1) {
  top: 16px;
}

.site-header__toggle-line:nth-child(2) {
  top: 23px;
}

.site-header__toggle-line:nth-child(3) {
  top: 30px;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-line:nth-child(1) {
  top: 23px;
  transform: rotate(45deg);
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-line:nth-child(2) {
  opacity: 0;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-line:nth-child(3) {
  top: 23px;
  transform: rotate(-45deg);
}

.mobile-nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 25;
  background: rgba(17, 23, 34, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

body.has-mobile-nav {
  overflow: hidden;
}

body.has-mobile-nav .mobile-nav-scrim {
  opacity: 1;
  pointer-events: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(210, 180, 44, 0.2);
}

.button--secondary {
  background: rgba(17, 23, 34, 0.08);
  color: var(--navy-deep);
  border-color: rgba(17, 23, 34, 0.22);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: rgba(17, 23, 34, 0.14);
  box-shadow: none;
}

.button--nav {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  justify-self: end;
  color: var(--navy-deep);
  border-color: var(--navy);
  background: transparent;
}

.button--outline-dark {
  background: transparent;
  color: var(--navy-deep);
  border-color: var(--navy-deep);
}

.button--outline-dark:hover,
.button--outline-dark:focus-visible {
  background: rgba(10, 45, 103, 0.06);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 20px 0 40px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(133deg, transparent 0 47%, rgba(17, 23, 34, 0.05) 47% 100%),
    radial-gradient(circle at top left, rgba(199, 164, 98, 0.16), transparent 28%);
  pointer-events: none;
}

.hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 36px;
  align-items: center;
  min-height: clamp(580px, calc(100vh - 124px), 760px);
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 20px 0;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-panel h2 {
  margin: 0;
  line-height: 0.95;
  font-family: "Arial Black", "Avenir Next", "Helvetica Neue", sans-serif;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 8.5ch;
  color: var(--navy-deep);
  font-size: clamp(2.8rem, 4.9vw, 5rem);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero__copy p {
  max-width: 54ch;
  margin: 20px 0 0;
  color: var(--charcoal-soft);
  font-size: 1rem;
  line-height: 1.72;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hero__quick-info {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(10, 45, 103, 0.16);
  list-style: none;
  color: var(--gray);
  font-size: 0.96rem;
}

.hero__visual {
  position: relative;
  min-height: clamp(520px, 54vw, 720px);
}

.hero__frame,
.hero__photo,
.hero__panel,
.hero__line {
  position: absolute;
}

.hero__frame {
  inset: 2% 2% auto auto;
  width: 92%;
  height: 90%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(231, 229, 224, 0.94)),
    linear-gradient(135deg, rgba(199, 164, 98, 0.08), transparent 48%);
  box-shadow: var(--shadow);
  border: 1px solid rgba(17, 23, 34, 0.08);
}

.hero__frame::before,
.hero__frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero__frame::before {
  inset: 0 auto auto 0;
  width: 44%;
  height: 37%;
  background: rgba(255, 255, 255, 0.96);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.hero__frame::after {
  inset: auto auto 0 0;
  width: 26%;
  height: 20%;
  background: linear-gradient(135deg, rgba(28, 45, 74, 0.14), rgba(17, 23, 34, 0.02));
  clip-path: polygon(0 100%, 0 32%, 42% 0, 100% 100%);
}

.hero__line {
  left: 12%;
  height: 4px;
  background: var(--charcoal);
}

.hero__line--top {
  top: 10%;
  width: 54%;
}

.hero__line--mid {
  top: 28%;
  width: 32%;
}

.hero__photo {
  right: 0;
  bottom: 0;
  width: 88%;
  height: 82%;
  background:
    linear-gradient(180deg, rgba(12, 18, 30, 0.08), rgba(12, 18, 30, 0.34)),
    linear-gradient(135deg, rgba(199, 164, 98, 0.22), rgba(199, 164, 98, 0) 32%),
    url("assets/about-law-office.png") 58% center / cover no-repeat;
  clip-path: polygon(42% 0, 100% 0, 100% 100%, 0 100%, 0 52%);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero__photo::before,
.hero__photo::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero__photo::before {
  inset: 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  clip-path: inherit;
}

.hero__photo::after {
  inset: auto 0 0 auto;
  width: 34%;
  height: 36%;
  background: linear-gradient(180deg, rgba(17, 23, 34, 0), rgba(17, 23, 34, 0.34));
}

.hero__panel {
  left: 3%;
  bottom: 4%;
  width: min(320px, 58%);
  padding: 26px 24px 22px;
  background: linear-gradient(145deg, rgba(17, 23, 34, 0.94), rgba(28, 45, 74, 0.9));
  border-left: 3px solid var(--gold);
  box-shadow: 0 22px 40px rgba(17, 23, 34, 0.28);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  backdrop-filter: blur(10px);
}

.hero__panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero__panel span {
  display: block;
  margin-bottom: 8px;
  color: rgba(199, 164, 98, 0.88);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
}

.hero__panel small {
  display: block;
  margin-top: 14px;
  max-width: 21ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  line-height: 1.55;
}

.intro-band {
  padding: 22px 0 10px;
}

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

.intro-band article {
  padding: 24px;
  border-top: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 30px rgba(8, 21, 43, 0.05);
}

.intro-band__label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.intro-band p,
.section-copy p,
.service-card p,
.advantage-item p,
.contact-panel p {
  margin: 0;
  color: var(--charcoal-soft);
  line-height: 1.7;
}

.section {
  padding: 90px 0;
}

.section--light {
  background: transparent;
}

.section--dark {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 52%, #163c7a 100%);
  overflow: hidden;
}

.section--dark::before {
  content: "";
  position: absolute;
  inset: auto -8% -28% auto;
  width: 42%;
  height: 90%;
  background: rgba(255, 255, 255, 0.05);
  transform: rotate(26deg);
}

.section--accent {
  background:
    linear-gradient(180deg, rgba(199, 164, 98, 0.08), rgba(199, 164, 98, 0.02)),
    #fbfaf7;
}

.section--contact {
  padding-top: 72px;
  padding-bottom: 110px;
}

.section--split {
  padding-top: 24px;
}

.section--cta {
  padding: 0 0 84px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: start;
}

.section-heading h2,
.contact-panel h2 {
  max-width: 12ch;
  color: var(--navy-deep);
  font-size: clamp(2rem, 3.8vw, 4rem);
}

#costo-servicios .section-heading {
  max-width: 1120px;
  text-align: center;
  margin: 0 auto;
}

#costo-servicios .section-heading h2 {
  max-width: 13ch;
  margin: 0 auto;
}

#costo-servicios .clients-intro {
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

#blog .section-heading {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

#blog .section-heading h2 {
  max-width: 18ch;
  margin: 0 auto;
}

#blog .clients-intro {
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
}

#socios-fundadores .section-heading {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

#socios-fundadores .section-heading h2 {
  max-width: 16ch;
  margin: 0 auto;
}

.section-heading--center {
  text-align: center;
}

.section-heading--center h2 {
  max-width: 13ch;
  margin: 0 auto;
  color: var(--white);
}

.services-intro {
  max-width: 54ch;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.section--dark .section-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.cards-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.service-card {
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.service-card--link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.service-card--link:hover,
.service-card--link:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
}

.service-card h3,
.advantage-item h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
}

.service-card p {
  color: rgba(255, 255, 255, 0.76);
}

.service-card__cta {
  margin-top: auto;
  padding-top: 18px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cards-grid--services {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.firm-overview {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: stretch;
}

.firm-overview__visual {
  min-height: 520px;
  background:
    linear-gradient(180deg, rgba(13, 18, 30, 0.1), rgba(13, 18, 30, 0.3)),
    url("assets/about-law-office.png") center center / cover no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 82% 100%, 0 100%);
  box-shadow: var(--shadow);
}

.firm-overview__content {
  padding: 14px 0;
}

.firm-overview__content h2 {
  margin: 0;
  max-width: 12ch;
  color: var(--navy-deep);
  font-family: "Arial Black", "Avenir Next", "Helvetica Neue", sans-serif;
  font-size: clamp(2.1rem, 3.8vw, 4rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.firm-overview__content p {
  margin: 22px 0 0;
  color: var(--charcoal-soft);
  line-height: 1.75;
}

.firm-overview__quote {
  margin: 28px 0 0;
  padding: 22px 24px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.8);
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  line-height: 1.5;
}

.founders-section {
  background:
    linear-gradient(180deg, rgba(199, 164, 98, 0.08), rgba(199, 164, 98, 0.02)),
    #fbfaf7;
}

.founders-stack {
  display: grid;
  gap: 22px;
  margin-top: 36px;
}

.founder-card {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding: 28px;
  box-shadow: 0 18px 36px rgba(17, 23, 34, 0.06);
}

.founder-card--dark {
  color: var(--white);
  background:
    linear-gradient(160deg, var(--navy-deep), var(--navy) 62%, #163c7a 100%);
}

.founder-card--light {
  background: rgba(255, 255, 255, 0.92);
}

.founder-card__photo-wrap {
  display: flex;
  justify-content: center;
}

.founder-card__photo {
  width: min(320px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 999px;
  box-shadow: 0 18px 36px rgba(17, 23, 34, 0.18);
}

.founder-card__content h3 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.05;
  text-transform: uppercase;
  font-family: "Arial Black", "Avenir Next", "Helvetica Neue", sans-serif;
}

.founder-card__content p {
  margin: 0;
  max-width: 34ch;
  line-height: 1.75;
}

.founder-card--dark .client-group__label,
.founder-card--dark .founder-card__content p {
  color: rgba(255, 255, 255, 0.8);
}

.founder-card--light .client-group__label {
  color: var(--navy);
}

.founder-card--light .founder-card__content h3 {
  color: var(--navy-deep);
}

.founder-card--light .founder-card__content p {
  color: var(--charcoal-soft);
}

.advantages {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: start;
}

.advantages__list {
  display: grid;
  gap: 18px;
}

.clients-intro {
  max-width: 52ch;
  margin-top: 18px;
}

.advantage-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 32px rgba(8, 21, 43, 0.05);
}

.advantage-item span {
  color: var(--gold);
  font-family: "Arial Black", "Avenir Next", "Helvetica Neue", sans-serif;
  font-size: 2.7rem;
  line-height: 1;
}

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

.client-group {
  padding: 28px 24px;
  border-top: 4px solid var(--charcoal);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.8));
  box-shadow: 0 18px 36px rgba(17, 23, 34, 0.06);
}

.client-group__label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.client-group h3,
.clients-directory__column h3 {
  margin: 0 0 14px;
  color: var(--navy-deep);
  font-size: 1.18rem;
  line-height: 1.35;
}

.client-group p {
  margin: 0;
  color: var(--charcoal-soft);
  line-height: 1.7;
}

.client-group ul,
.clients-directory__column ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--charcoal-soft);
  line-height: 1.75;
}

.client-group li,
.clients-directory__column li {
  margin-bottom: 6px;
}

.clients-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.clients-directory__column {
  padding: 26px 24px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 30px rgba(17, 23, 34, 0.05);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.pricing-card {
  padding: 30px 24px;
  border-top: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 36px rgba(17, 23, 34, 0.06);
}

.pricing-card h3 {
  margin: 0 0 14px;
  color: var(--navy-deep);
  font-size: 1.18rem;
  line-height: 1.4;
}

.pricing-card p {
  margin: 0;
  color: var(--charcoal-soft);
  line-height: 1.75;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 30px;
  align-items: stretch;
}

.contact-card {
  position: relative;
  padding: 32px;
  color: var(--white);
  background:
    linear-gradient(160deg, var(--navy-deep), var(--navy) 62%, #1a4487 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -45% auto;
  width: 70%;
  height: 80%;
  background: rgba(255, 255, 255, 0.07);
  transform: rotate(24deg);
}

.contact-card > * {
  position: relative;
  z-index: 1;
}

.contact-card a {
  display: block;
  margin-bottom: 14px;
  font-size: 1.05rem;
  font-weight: 700;
}

.contact-card p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.contact-card__actions .button {
  width: 100%;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  align-content: center;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  line-height: 1.15;
  text-align: center;
  box-shadow: 0 14px 28px rgba(17, 23, 34, 0.18);
}

.contact-card__actions .button:hover,
.contact-card__actions .button:focus-visible {
  box-shadow: 0 18px 32px rgba(17, 23, 34, 0.22);
}

.contact-card__actions .button:not(.button--secondary) {
  background: linear-gradient(135deg, #d4b06a, #c7a462);
  border-color: rgba(255, 255, 255, 0.16);
}

.contact-card .button--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
}

.contact-card .button--secondary:hover,
.contact-card .button--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.social-preview-wrap {
  margin-top: 24px;
}

.site-footer {
  border-top: 1px solid rgba(17, 23, 34, 0.08);
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
}

.site-footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0 26px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer__socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer__content p {
  margin: 0;
  font-size: 0.94rem;
  letter-spacing: 0.04em;
}

.site-footer__link {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(199, 164, 98, 0.42);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.04);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.site-footer__social:hover,
.site-footer__social:focus-visible {
  transform: translateY(-2px);
  background: rgba(199, 164, 98, 0.12);
  border-color: var(--gold);
}

.site-footer__social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.legal-document-hero {
  padding: 54px 0 28px;
}

.legal-document-hero__content {
  max-width: 760px;
}

.legal-document-hero__content h1 {
  margin: 0;
  color: var(--navy-deep);
  font-family: "Arial Black", "Avenir Next", "Helvetica Neue", sans-serif;
  font-size: clamp(2.4rem, 4.4vw, 4.2rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.legal-document-hero__content p {
  margin: 18px 0 0;
  color: var(--charcoal-soft);
  line-height: 1.75;
}

.legal-document {
  padding-top: 20px;
  padding-bottom: 96px;
}

.legal-document__content {
  max-width: 920px;
  padding: 34px 32px;
  border-top: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(17, 23, 34, 0.06);
}

.legal-document__content h2 {
  margin: 34px 0 14px;
  color: var(--navy-deep);
  font-size: 1.28rem;
  line-height: 1.35;
}

.legal-document__content h2:first-of-type {
  margin-top: 0;
}

.legal-document__content p,
.legal-document__content li {
  color: var(--charcoal-soft);
  font-size: 1rem;
  line-height: 1.82;
}

.legal-document__content p {
  margin: 0 0 16px;
}

.legal-document__content ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal-document__content li {
  margin-bottom: 8px;
}

.legal-document__content a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(28, 45, 74, 0.34);
  text-underline-offset: 3px;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 36px;
  border-top: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 40px rgba(8, 21, 43, 0.06);
}

.cta-banner h2 {
  margin: 0;
  max-width: 13ch;
  color: var(--navy-deep);
  font-family: "Arial Black", "Avenir Next", "Helvetica Neue", sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 3.1rem);
  line-height: 1;
  text-transform: uppercase;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.consultation-online {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 30px;
  align-items: start;
}

.consultation-online__intro {
  padding: 10px 0;
}

.consultation-online__intro h2 {
  margin: 0;
  max-width: 11ch;
  color: var(--navy-deep);
  font-family: "Arial Black", "Avenir Next", "Helvetica Neue", sans-serif;
  font-size: clamp(2rem, 3.8vw, 4rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.consultation-online__intro > p {
  max-width: 58ch;
  margin: 22px 0 0;
  color: var(--charcoal-soft);
  line-height: 1.8;
}

.consultation-steps {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.consultation-step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 32px rgba(17, 23, 34, 0.05);
}

.consultation-step span {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
  color: var(--gold);
  font-family: "Arial Black", "Avenir Next", "Helvetica Neue", sans-serif;
  font-size: 2.2rem;
  line-height: 1;
}

.consultation-step h3,
.consultation-form__header h3 {
  grid-column: 2;
  margin: 0 0 10px;
  color: var(--navy-deep);
  font-size: 1.18rem;
}

.consultation-step p,
.consultation-form__header p {
  grid-column: 2;
  margin: 0;
  color: var(--charcoal-soft);
  line-height: 1.75;
}

.consultation-form-card {
  padding: 32px 28px;
  border-top: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 40px rgba(17, 23, 34, 0.08);
}

.consultation-form {
  display: grid;
  gap: 16px;
}

.consultation-form__header {
  margin-bottom: 6px;
}

.consultation-form label {
  display: grid;
  gap: 8px;
}

.consultation-form label span {
  color: var(--navy-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
  width: 100%;
  border: 1px solid rgba(17, 23, 34, 0.16);
  background: rgba(244, 242, 237, 0.9);
  color: var(--charcoal);
  font: inherit;
  padding: 14px 16px;
  border-radius: 0;
  outline: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.consultation-form textarea {
  resize: vertical;
  min-height: 170px;
}

.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(199, 164, 98, 0.12);
}

.consultation-form__honeypot {
  display: none;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.blog-card {
  padding: 28px 24px;
  border-top: 4px solid var(--charcoal);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 36px rgba(17, 23, 34, 0.06);
}

.blog-card h3 {
  margin: 0 0 14px;
  color: var(--navy-deep);
  font-size: 1.18rem;
  line-height: 1.45;
}

.blog-card p {
  margin: 0;
  color: var(--charcoal-soft);
  line-height: 1.75;
}

.blog-card__link {
  display: inline-block;
}

.blog-cta {
  margin-top: 28px;
}

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

.social-preview-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 32px 40px 36px;
  border-top: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 36px rgba(17, 23, 34, 0.06);
}

.social-preview-card__head {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-preview-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  color: var(--gold);
  background: linear-gradient(145deg, rgba(17, 23, 34, 0.94), rgba(28, 45, 74, 0.9));
}

.social-preview-card__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.social-preview-card h3 {
  margin: 0;
  color: var(--navy-deep);
  font-size: 1.2rem;
  line-height: 1.35;
}

.social-preview-card .button {
  align-self: flex-start;
}

.social-preview-card__mockup {
  display: grid;
  gap: 10px;
  margin: 22px 0 18px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(244, 242, 237, 0.96), rgba(231, 229, 224, 0.88));
  border: 1px solid rgba(17, 23, 34, 0.08);
}

.social-preview-card__bar {
  display: block;
  width: 100%;
  height: 10px;
  background: rgba(28, 45, 74, 0.18);
}

.social-preview-card__bar--short {
  width: 46%;
}

.social-preview-card__bar--mid {
  width: 72%;
}

.social-preview-card p {
  margin: 0 0 18px;
  color: var(--charcoal-soft);
  line-height: 1.75;
}

.blog-page-hero {
  position: relative;
  overflow: hidden;
  padding: 62px 0 46px;
}

.blog-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(136deg, rgba(17, 23, 34, 0.04) 0 58%, transparent 58% 100%),
    radial-gradient(circle at top left, rgba(199, 164, 98, 0.16), transparent 30%);
  pointer-events: none;
}

.blog-page-hero__layout,
.blog-post-layout {
  position: relative;
  display: grid;
  gap: 28px;
  align-items: start;
}

.blog-page-hero__layout {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}

.blog-post-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.95fr);
}

.blog-page-hero h1,
.blog-post-content h1,
.blog-post-content h2,
.blog-sidebar h2 {
  margin: 0;
  color: var(--navy-deep);
  font-family: "Arial Black", "Avenir Next", "Helvetica Neue", sans-serif;
  text-transform: uppercase;
}

.blog-page-hero h1,
.blog-post-content h1 {
  font-size: clamp(2.5rem, 3.2vw, 3.35rem);
  line-height: 0.94;
  text-wrap: pretty;
}

.blog-page-hero p,
.blog-post-content p,
.blog-sidebar p {
  color: var(--charcoal-soft);
  line-height: 1.8;
}

.blog-page-hero p {
  max-width: 76ch;
  margin: 22px 0 0;
}

.blog-page-hero__layout > div {
  width: min(100%, 1100px);
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.blog-page-hero__layout > div .section-kicker,
.blog-page-hero__layout > div h1,
.blog-page-hero__layout > div p {
  display: block;
  width: 100%;
  text-align: center;
}

.blog-page-hero .section-kicker,
.blog-page-hero h1,
.blog-page-hero p {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}

.blog-page-hero h1 {
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}

.blog-page-hero p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.blog-page-hero__panel {
  max-width: 860px;
}

.blog-page-hero__panel,
.blog-post-content,
.blog-sidebar,
.blog-listing-card {
  padding: 30px 26px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 36px rgba(17, 23, 34, 0.06);
}

.blog-page-hero__panel,
.blog-sidebar {
  border-top: 4px solid var(--gold);
}

.blog-post-content,
.blog-listing-card {
  border-top: 4px solid var(--charcoal);
}

.blog-page-hero__panel p {
  margin: 0;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-post-content h2,
.blog-sidebar h2,
.blog-listing-card h2 {
  font-size: 1.55rem;
  line-height: 1.05;
}

.blog-post-content p + p {
  margin-top: 16px;
}

.blog-listing {
  padding-top: 18px;
}

.blog-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.blog-listing-card h2 {
  margin-bottom: 12px;
}

.blog-listing-card p {
  margin: 0;
}

.blog-listing-card .blog-meta {
  margin-top: 0;
  margin-bottom: 14px;
}

.blog-sidebar nav {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.blog-sidebar a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: rgba(244, 242, 237, 0.92);
  color: var(--navy-deep);
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.blog-sidebar a:hover,
.blog-sidebar a:focus-visible,
.blog-sidebar a[aria-current="page"] {
  transform: translateX(4px);
  border-color: rgba(17, 23, 34, 0.22);
  background: rgba(199, 164, 98, 0.18);
}

.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.service-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 54px;
}

.service-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(138deg, rgba(17, 23, 34, 0.04) 0 54%, transparent 54% 100%),
    radial-gradient(circle at top left, rgba(199, 164, 98, 0.16), transparent 30%);
  pointer-events: none;
}

.service-detail-hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: end;
}

.service-detail-hero h1,
.service-detail__content h2,
.service-detail__aside h2 {
  margin: 0;
  color: var(--navy-deep);
  font-family: "Arial Black", "Avenir Next", "Helvetica Neue", sans-serif;
  text-transform: uppercase;
}

.service-detail-hero h1 {
  max-width: 10ch;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.service-detail-hero__lead {
  max-width: 60ch;
  margin: 22px 0 0;
  color: var(--charcoal-soft);
  font-size: 1.04rem;
  line-height: 1.8;
}

.service-detail-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.service-detail-hero__panel {
  padding: 28px 26px;
  border-top: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 40px rgba(17, 23, 34, 0.08);
}

.service-detail-hero__panel p {
  margin: 0;
  color: var(--charcoal-soft);
  line-height: 1.8;
}

.service-detail-hero__panel strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy-deep);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service-detail {
  padding-top: 24px;
}

.service-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.service-detail__content,
.service-detail__aside {
  padding: 34px 30px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 36px rgba(17, 23, 34, 0.05);
}

.service-detail__content {
  border-top: 4px solid var(--charcoal);
}

.service-detail__aside {
  border-top: 4px solid var(--gold);
}

.service-detail__content h2,
.service-detail__aside h2 {
  font-size: 1.6rem;
  line-height: 1.02;
}

.service-detail__content p,
.service-detail__aside p {
  margin: 18px 0 0;
  color: var(--charcoal-soft);
  line-height: 1.8;
}

.service-detail__list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-detail__list li {
  position: relative;
  padding-left: 22px;
  color: var(--charcoal-soft);
  line-height: 1.75;
}

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

.service-directory {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.service-directory a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--border);
  color: var(--navy-deep);
  background: rgba(244, 242, 237, 0.9);
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.service-directory a:hover,
.service-directory a:focus-visible,
.service-directory a[aria-current="page"] {
  transform: translateX(4px);
  border-color: rgba(17, 23, 34, 0.22);
  background: rgba(199, 164, 98, 0.18);
}

.service-detail__eyebrow {
  display: inline-block;
  margin-top: 28px;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service-detail__cta {
  margin-top: 28px;
}

@media (max-width: 1080px) {
  .site-header__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero__layout,
  .two-column,
  .advantages,
  .contact-panel,
  .consultation-online {
    grid-template-columns: 1fr;
  }

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

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

  .hero__visual {
    min-height: 560px;
  }

  .firm-overview {
    grid-template-columns: 1fr;
  }

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

  .firm-overview__visual {
    min-height: 320px;
    background-position: center 32%;
  }

  .clients-featured,
  .clients-directory,
  .pricing-grid,
  .blog-grid,
  .blog-listing-grid,
  .social-preview-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-hero__layout,
  .service-detail__layout,
  .blog-page-hero__layout,
  .blog-post-layout {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  body {
    font-size: 15px;
  }

  section[id],
  main[id],
  [id="contacto"],
  [id="consulta-online"],
  [id="blog"],
  [id="clientes"],
  [id="servicios"],
  [id="costo-servicios"],
  [id="nosotros"],
  [id="mision"],
  [id="inicio"] {
    scroll-margin-top: 72px;
  }

  .site-header {
    background: rgba(244, 242, 237, 0.96);
  }

  .site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 8px 14px;
    min-height: 54px;
    padding: 6px 0 8px;
  }

  .site-header__quicklinks {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
  }

  .site-header__quicklinks a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 10px;
    border: 1px solid rgba(17, 23, 34, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--navy-deep);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .site-nav {
    position: static;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    padding: 4px 0 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 0.68rem;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-header__brand,
  .site-header--compact .site-header__brand {
    width: min(124px, 34vw);
  }

  .site-header__toggle {
    display: none;
  }

  .site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 10px;
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-align: center;
    border: 1px solid rgba(17, 23, 34, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
  }

  .site-nav a::after {
    left: 16%;
    bottom: 5px;
    width: 68%;
  }

  .site-nav a[href="#inicio"],
  .site-nav a[href="#contacto"] {
    display: none;
  }

  .button--nav {
    display: none;
  }

  .site-header--compact .site-header__inner {
    min-height: 50px;
    padding: 5px 0 7px;
  }

  .site-header--compact .site-header__brand {
    width: min(112px, 32vw);
  }

  .site-header--compact .site-header__quicklinks a {
    min-height: 32px;
    padding: 7px 10px;
    font-size: 0.64rem;
  }

  .section-kicker,
  .client-group__label,
  .service-card__cta,
  .service-detail__eyebrow,
  .site-footer__link,
  .consultation-form label span {
    letter-spacing: 0.14em;
  }

  .intro-band__grid,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid--services {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .section-heading h2,
  .contact-panel h2,
  .firm-overview__content h2,
  .consultation-online__intro h2,
  .legal-document-hero__content h1,
  .blog-page-hero h1,
  .blog-post-content h1,
  .service-detail-hero h1,
  .cta-banner h2 {
    max-width: none;
    font-size: clamp(2rem, 7vw, 3.2rem);
    line-height: 1;
    text-wrap: balance;
  }

  .blog-post-content h2,
  .blog-sidebar h2,
  .blog-listing-card h2,
  .service-detail__content h2,
  .service-detail__aside h2,
  .legal-document__content h2,
  .founder-card__content h3 {
    font-size: clamp(1.35rem, 4vw, 1.9rem);
    line-height: 1.15;
  }

  .hero__copy p,
  .section-copy p,
  .intro-band p,
  .service-card p,
  .advantage-item p,
  .client-group p,
  .clients-directory__column p,
  .pricing-card p,
  .contact-panel p,
  .contact-card p,
  .consultation-online__intro > p,
  .consultation-step p,
  .consultation-form__header p,
  .blog-card p,
  .blog-page-hero p,
  .blog-post-content p,
  .blog-sidebar p,
  .legal-document__content p,
  .legal-document__content li,
  .service-detail__content p,
  .service-detail__aside p,
  .service-detail__list li {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .hero__quick-info,
  .blog-meta,
  .contact-card a {
    font-size: 0.94rem;
  }

  .consultation-form-card {
    padding: 28px 24px;
  }

  .service-detail-hero {
    padding: 48px 0 42px;
  }

  .service-detail__content,
  .service-detail__aside {
    padding: 28px 24px;
  }

  .section,
  .section--contact {
    padding: 70px 0;
  }

  .hero {
    padding-top: 14px;
  }

  .section-heading,
  .contact-panel__info,
  .consultation-online__intro,
  .legal-document-hero__content,
  .blog-page-hero__content {
    max-width: 100%;
  }

  .clients-intro,
  .services-intro,
  .hero__copy p,
  .consultation-online__intro > p,
  .service-detail-hero__lead,
  .blog-page-hero p,
  .legal-document-hero__content p,
  .founder-card__content p {
    max-width: 100%;
  }

  .hero__copy,
  .firm-overview__content,
  .consultation-online__intro {
    padding: 0;
  }

  .legal-document__content {
    padding: 28px 24px;
  }

  .hero__layout {
    min-height: auto;
    gap: 28px;
  }

  .hero__visual {
    order: 1;
    min-height: 240px;
  }

  .hero__copy {
    order: 2;
  }

  .hero__line {
    display: none;
  }

  .founder-card {
    padding: 24px;
    gap: 22px;
  }

  .founder-card--light .founder-card__photo-wrap {
    order: 1;
  }

  .founder-card--light .founder-card__content {
    order: 2;
  }

  .hero__panel {
    width: min(360px, 72%);
    bottom: 5%;
    padding: 18px 16px 16px;
  }

  .hero__photo {
    top: 6%;
    bottom: auto;
    width: 86%;
    height: 48%;
    clip-path: inset(0 0 0 0);
    background-position: center 34%;
  }

  #mision.section {
    padding-bottom: 28px;
  }

  #nosotros.section--split {
    padding-top: 10px;
  }

  .hero__actions,
  .contact-card__actions,
  .service-detail-hero__actions,
  .cta-banner__actions {
    gap: 12px;
  }

  .advantage-item,
  .consultation-step {
    grid-template-columns: 62px 1fr;
    gap: 16px;
    padding: 22px;
  }

  .advantage-item span,
  .consultation-step span {
    font-size: 2rem;
  }

  .contact-card,
  .pricing-card,
  .blog-card,
  .client-group,
  .clients-directory__column,
  .service-card,
  .social-preview-card,
  .blog-page-hero__panel,
  .blog-post-content,
  .blog-sidebar,
  .blog-listing-card,
  .service-detail__content,
  .service-detail__aside,
  .legal-document__content,
  .consultation-form-card,
  .cta-banner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .social-preview-card__head {
    gap: 16px;
  }

  .social-preview-card h3 {
    font-size: 1.1rem;
    line-height: 1.3;
  }

  .site-footer__content {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0 24px;
  }

  .site-footer__links {
    flex-direction: column;
    gap: 12px;
  }

  .site-footer__socials {
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100vw - 24px);
  }

  body {
    font-size: 14px;
  }

  .site-header__brand {
    width: min(118px, 34vw);
  }

  .site-header--compact .site-header__brand {
    width: min(104px, 30vw);
  }

  .site-header__quicklinks {
    gap: 6px;
  }

  .site-header__quicklinks a {
    min-height: 30px;
    padding: 6px 8px;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }

  .site-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    padding-top: 2px;
    font-size: 0.64rem;
  }

  .site-nav a {
    min-height: 30px;
    padding: 6px 8px;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }

  .button,
  .button--nav {
    width: 100%;
  }

  .button {
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.84rem;
    letter-spacing: 0.06em;
  }

  .section,
  .section--contact {
    padding: 56px 0;
  }

  .firm-overview__visual {
    min-height: 220px;
    clip-path: none;
  }

  #servicios .section-heading {
    margin-bottom: 10px;
  }

  #servicios .services-intro {
    margin-top: 12px;
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .cards-grid--services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
  }

  .hero h1,
  .section-heading h2,
  .contact-panel h2,
  .firm-overview__content h2,
  .consultation-online__intro h2,
  .legal-document-hero__content h1,
  .blog-page-hero h1,
  .blog-post-content h1,
  .service-detail-hero h1,
  .cta-banner h2 {
    font-size: clamp(1.72rem, 8.2vw, 2.45rem);
    line-height: 1.02;
  }

  .blog-post-content h2,
  .blog-sidebar h2,
  .blog-listing-card h2,
  .service-detail__content h2,
  .service-detail__aside h2,
  .legal-document__content h2,
  .founder-card__content h3,
  .consultation-step h3,
  .consultation-form__header h3,
  .service-card h3,
  .advantage-item h3,
  .client-group h3,
  .clients-directory__column h3,
  .pricing-card h3,
  .blog-card h3 {
    font-size: clamp(1.15rem, 5.2vw, 1.5rem);
    line-height: 1.2;
  }

  .hero__copy p,
  .section-copy p,
  .intro-band p,
  .advantage-item p,
  .client-group p,
  .clients-directory__column p,
  .pricing-card p,
  .contact-panel p,
  .contact-card p,
  .consultation-online__intro > p,
  .consultation-step p,
  .consultation-form__header p,
  .blog-card p,
  .blog-page-hero p,
  .blog-post-content p,
  .blog-sidebar p,
  .legal-document__content p,
  .legal-document__content li,
  .service-detail__content p,
  .service-detail__aside p,
  .service-detail__list li {
    font-size: 0.94rem;
    line-height: 1.66;
  }

  #servicios .service-card {
    min-height: 100%;
    padding: 16px 14px;
  }

  #servicios .service-card h3 {
    margin-bottom: 8px;
    font-size: 0.94rem;
    line-height: 1.2;
  }

  #servicios .service-card p {
    display: none;
  }

  #servicios .service-card__cta {
    padding-top: 4px;
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }

  .hero__actions,
  .contact-card__actions,
  .cta-banner__actions,
  .service-detail-hero__actions {
    flex-direction: column;
  }

  .consultation-step {
    grid-template-columns: 1fr;
  }

  .consultation-form .button {
    width: 100%;
  }

  .hero__visual {
    min-height: 210px;
  }

  .hero__frame {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero__line {
    left: 8%;
    height: 3px;
  }

  .hero__line--top {
    width: 62%;
  }

  .hero__line--mid {
    top: 24%;
    width: 40%;
  }

  .service-detail-hero h1 {
    max-width: none;
  }

  .hero__photo {
    top: 6%;
    width: 88%;
    height: 44%;
  }

  #mision.section {
    padding-bottom: 20px;
  }

  #nosotros.section--split {
    padding-top: 6px;
  }

  .hero__panel {
    left: 2%;
    bottom: 3%;
    width: 78%;
    padding: 12px 12px 10px;
  }

  .founder-card__photo {
    width: min(280px, 100%);
  }

  .legal-document-hero {
    padding-top: 34px;
  }

  .legal-document__content {
    padding: 24px 18px;
  }

  .hero__panel p {
    font-size: 1rem;
  }

  .hero__panel span,
  .hero__panel small {
    letter-spacing: 0.12em;
  }

  .advantage-item {
    grid-template-columns: 1fr;
  }

  .hero__quick-info {
    gap: 8px;
    margin-top: 22px;
    padding-top: 14px;
    font-size: 0.9rem;
  }

  .intro-band article,
  .service-card,
  .advantage-item,
  .client-group,
  .clients-directory__column,
  .pricing-card,
  .blog-card,
  .social-preview-card,
  .contact-card,
  .consultation-form-card,
  .blog-page-hero__panel,
  .blog-post-content,
  .blog-sidebar,
  .blog-listing-card,
  .service-detail__content,
  .service-detail__aside,
  .legal-document__content,
  .cta-banner,
  .founder-card {
    padding: 20px 18px;
  }

  .advantage-item,
  .consultation-step {
    gap: 12px;
  }

  .consultation-step span {
    grid-row: auto;
    margin-bottom: 4px;
  }

  .consultation-step h3,
  .consultation-form__header h3,
  .consultation-step p,
  .consultation-form__header p {
    grid-column: auto;
  }

  .founder-card__content p {
    max-width: 100%;
  }

  .social-preview-card__head {
    align-items: flex-start;
  }

  .social-preview-card__icon {
    width: 46px;
    height: 46px;
  }

  .social-preview-card h3 {
    font-size: 1rem;
  }

  .contact-card a {
    font-size: 0.98rem;
    overflow-wrap: anywhere;
  }

  .site-footer__content p {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .site-footer__social {
    width: 40px;
    height: 40px;
  }
}
