/*
Theme Name: MTH Corporativo 2026
Theme URI: https://www.mthabogados.cl/
Author: Matus y Torrealba Abogados Asociados
Description: Tema corporativo para Matus y Torrealba Abogados Asociados.
Version: 1.2.4
Text Domain: mth-corporativo
*/

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/geist-98bbbccb.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/geist-001175b1.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --font-geist: "Geist", Arial, Helvetica, sans-serif;
}

.header-cta {
  display: none !important;
}

.site-header {
  grid-template-columns: 250px minmax(0, 1fr) auto;
}

.desktop-nav {
  gap: clamp(16px, 1.75vw, 28px);
}

.desktop-nav a {
  white-space: nowrap;
}

.testimonials {
  padding-top: 76px;
  padding-bottom: 72px;
}

.testimonial-list {
  grid-auto-columns: calc(50% - 8px);
  margin-top: 36px;
}

.testimonial-item {
  grid-template-columns: 28px 1fr;
  gap: 16px;
  min-height: 265px;
  padding: 24px 26px;
}

.testimonial-number {
  padding-top: 5px;
}

.testimonial-item blockquote {
  font-size: clamp(1rem, 1.25vw, 1.24rem);
  line-height: 1.34;
}

.testimonial-author {
  gap: 4px;
  margin-top: 16px;
}

.testimonial-controls {
  margin-top: 6px;
}

.wp-content-shell {
  max-width: var(--max);
  min-height: 60vh;
  margin: 0 auto;
  padding: 84px 32px 110px;
}

.wp-content-shell h1 {
  margin-bottom: 28px;
}

.wp-content-shell h2,
.wp-content-shell h3 {
  font-family: var(--font-geist);
  letter-spacing: -0.025em;
  margin: 32px 0 14px;
}

.wp-content-shell h2 { font-size: 2rem; }
.wp-content-shell h3 { font-size: 1.5rem; }

.wp-content-shell p,
.wp-content-shell li {
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.75;
}

.wp-content-shell p { margin: 0 0 18px; }
.wp-content-shell ul,
.wp-content-shell ol { margin: 0 0 24px 22px; }
.wp-content-shell ul { list-style: disc; }
.wp-content-shell ol { list-style: decimal; }

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

.wp-post-card {
  background: var(--white);
  border-top: 3px solid var(--ink);
  min-height: 260px;
  padding: 28px;
}

.wp-post-card h2 {
  margin: 28px 0 18px;
  font-size: 1.55rem;
  line-height: 1.18;
}

.wp-post-card time {
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .7rem;
  font-weight: 720;
}

.wp-post-card a:hover { color: var(--gold); }

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

@media (width <= 1120px) {
  .site-header { grid-template-columns: 220px minmax(0, 1fr) auto; }
  .desktop-nav { gap: 14px; }
}

@media (width <= 960px) {
  body.admin-bar .site-header { top: 32px; }
  .testimonial-list { grid-auto-columns: minmax(300px, 82%); }
  .wp-post-list { grid-template-columns: 1fr; }
}

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

@media (width <= 560px) {
  .testimonials {
    padding-top: 62px;
    padding-bottom: 58px;
  }

  .testimonial-list {
    grid-auto-columns: minmax(280px, 88%);
    margin-top: 30px;
  }

  .testimonial-item {
    grid-template-columns: 25px 1fr;
    gap: 12px;
    min-height: 290px;
    padding: 22px 20px;
  }

  .testimonial-item blockquote {
    font-size: 1rem;
    line-height: 1.35;
  }

  .wp-content-shell { padding: 64px 22px 86px; }
}

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

.legalops-feature {
  max-width: 1600px;
  margin: 0 auto;
  padding: 104px max(32px, calc((100vw - var(--max)) / 2));
  background: var(--ink-deep);
  color: var(--white);
}

.legalops-feature-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 9%;
  align-items: start;
}

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

.legalops-feature h2,
.legalops-page-hero h1,
.legalops-difference h2,
.legalops-process h2,
.legalops-benefits-section h2,
.legalops-audience h2,
.legalops-human-band h2,
.legalops-faq h2 {
  font-family: var(--font-geist), Arial, Helvetica, sans-serif;
  letter-spacing: -.045em;
  margin: 0;
  font-weight: 520;
}

.legalops-feature h2 {
  max-width: 720px;
  font-size: clamp(2.8rem, 4.5vw, 4.5rem);
  line-height: 1.02;
}

.legalops-feature-lead {
  max-width: 720px;
  margin: 32px 0 0;
  color: var(--white);
  font-size: 1.16rem;
  line-height: 1.7;
}

.legalops-feature-text {
  max-width: 720px;
  margin: 20px 0 0;
  color: #c7cad1;
  font-size: .98rem;
  line-height: 1.75;
}

.legalops-feature-actions,
.legalops-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

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

.legalops-feature-benefits {
  margin: 0;
  padding: 0;
  border-top: 1px solid #ffffff2e;
  list-style: none;
}

.legalops-feature-benefits li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #ffffff2e;
}

.legalops-feature-benefits span {
  color: var(--gold-light);
  letter-spacing: .12em;
  padding-top: 3px;
  font-size: .67rem;
  font-weight: 720;
}

.legalops-feature-benefits p {
  margin: 0;
  color: #eef0f3;
  font-size: .97rem;
  line-height: 1.55;
}

.legalops-page-hero {
  max-width: 1600px;
  margin: 0 auto;
  padding: 56px max(32px, calc((100vw - var(--max)) / 2)) 94px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.legalops-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--slate);
  letter-spacing: .09em;
  text-transform: uppercase;
  font-size: .7rem;
  font-weight: 720;
}

.legalops-breadcrumb a {
  border-bottom: 1px solid #20263742;
  padding-bottom: 4px;
}

.legalops-breadcrumb span:last-child {
  color: var(--gold);
}

.legalops-page-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 8%;
  align-items: center;
  padding-top: 72px;
}

.legalops-page-hero h1 {
  max-width: 760px;
  font-size: clamp(4.2rem, 7.4vw, 7rem);
  line-height: .94;
}

.legalops-page-lead {
  max-width: 760px;
  margin: 34px 0 0;
  color: var(--slate);
  font-size: 1.08rem;
  line-height: 1.78;
}

.legalops-outline-dark {
  color: var(--ink);
  border-color: #20263770;
}

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

.legalops-visual-placeholder {
  min-height: 420px;
  padding: 36px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 20px 50px #20263714;
}

.legalops-visual-placeholder .eyebrow {
  margin-bottom: 28px;
  color: var(--gold);
}

.legalops-visual-placeholder > strong {
  display: block;
  max-width: 420px;
  letter-spacing: -.035em;
  font-size: 2rem;
  font-weight: 540;
  line-height: 1.15;
}

.legalops-visual-summary {
  margin: 48px 0 30px;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.legalops-visual-summary li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
}

.legalops-visual-summary li > span {
  color: var(--gold);
  letter-spacing: .12em;
  font-size: .65rem;
  font-weight: 720;
}

.legalops-visual-summary li > strong {
  letter-spacing: -.01em;
  font-size: .88rem;
  font-weight: 620;
}

.legalops-visual-note {
  margin: 0;
  color: var(--slate);
  font-size: .82rem;
  line-height: 1.6;
}

.legalops-difference h2,
.legalops-process h2,
.legalops-audience h2,
.legalops-faq h2 {
  font-size: clamp(2.5rem, 4.2vw, 4.1rem);
  line-height: 1.04;
}

.legalops-definition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 62px;
}

.legalops-definition-grid article {
  min-height: 300px;
  padding: 34px 38px;
  border: 1px solid var(--line);
  background: var(--white);
}

.legalops-definition-grid article > span,
.legalops-process-grid article > span,
.legalops-benefit-grid article > span {
  color: var(--gold);
  letter-spacing: .12em;
  font-size: .68rem;
  font-weight: 720;
}

.legalops-definition-grid h3 {
  margin: 70px 0 18px;
  letter-spacing: -.035em;
  font-size: 2.05rem;
  font-weight: 540;
}

.legalops-definition-grid p,
.legalops-process-grid p,
.legalops-benefit-grid p {
  margin: 0;
  color: var(--slate);
  font-size: .96rem;
  line-height: 1.7;
}

.legalops-process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 62px;
}

.legalops-process-grid article {
  min-height: 280px;
  padding: 32px 36px;
  border-top: 3px solid var(--ink);
  background: var(--white);
}

.legalops-process-grid h3 {
  max-width: 440px;
  margin: 52px 0 16px;
  letter-spacing: -.035em;
  font-size: 1.75rem;
  font-weight: 540;
  line-height: 1.15;
}

.legalops-benefits-section {
  max-width: 1600px;
  margin: 0 auto;
  padding: 108px max(32px, calc((100vw - var(--max)) / 2));
  background: #e8eaee;
}

.legalops-benefits-inner {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 9%;
}

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

.legalops-benefits-section h2 {
  font-size: clamp(2.5rem, 4.2vw, 4.1rem);
  line-height: 1.04;
}

.legalops-benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.legalops-benefit-grid article {
  min-height: 245px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.legalops-benefit-grid h3 {
  margin: 42px 0 14px;
  letter-spacing: -.025em;
  font-size: 1.35rem;
  font-weight: 560;
}

.legalops-audience {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 10%;
}

.legalops-audience ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.legalops-audience li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 24px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.legalops-audience li span {
  color: var(--gold);
  letter-spacing: .12em;
  padding-top: 4px;
  font-size: .68rem;
  font-weight: 720;
}

.legalops-audience li p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
}

.legalops-human-band {
  display: grid;
  grid-template-columns: .38fr 1.12fr;
  gap: 8%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 86px max(32px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.legalops-human-band h2 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.04;
}

.legalops-human-band > div > p {
  max-width: 780px;
  margin: 26px 0 0;
  color: var(--slate);
  font-size: 1.02rem;
  line-height: 1.75;
}

.legalops-faq {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 9%;
}

.legalops-faq-heading {
  align-self: start;
  position: sticky;
  top: 132px;
}

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

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

.legalops-faq-list summary {
  display: grid;
  grid-template-columns: 36px 1fr 24px;
  gap: 20px;
  align-items: start;
  padding: 25px 0;
  cursor: pointer;
  list-style: none;
}

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

.legalops-faq-list summary > span:first-child {
  color: var(--gold);
  letter-spacing: .12em;
  padding-top: 3px;
  font-size: .67rem;
  font-weight: 720;
}

.legalops-faq-list summary strong {
  letter-spacing: -.02em;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.45;
}

.legalops-faq-icon {
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform .18s;
}

.legalops-faq-list details[open] .legalops-faq-icon {
  transform: rotate(45deg);
}

.legalops-faq-list details > div {
  padding: 0 44px 26px 56px;
}

.legalops-faq-list details p {
  max-width: 720px;
  margin: 0;
  color: var(--slate);
  line-height: 1.75;
}

.legalops-contact-text {
  max-width: 760px;
  text-transform: none;
  letter-spacing: 0;
  font-size: .96rem;
  line-height: 1.7;
}

.page-legalops-cta {
  margin-top: 58px;
  padding: 34px 36px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  background: #e8eaee;
}

.wp-content-shell .page-legalops-cta h2 {
  margin: 0 0 16px;
  font-size: 2rem;
  line-height: 1.12;
}

.wp-content-shell .page-legalops-cta p:not(.eyebrow) {
  max-width: 760px;
}

.page-legalops-cta .button {
  margin-top: 8px;
  color: var(--white);
}

@media (width >= 961px) and (width <= 1220px) {
  .site-header {
    grid-template-columns: 205px minmax(0, 1fr) auto;
  }

  .desktop-nav {
    gap: 11px;
  }

  .desktop-nav a {
    font-size: .72rem;
  }

  .brand-name {
    font-size: .84rem;
  }

  .brand-legal {
    font-size: .45rem;
  }
}

@media (width <= 1120px) {
  .legalops-feature-inner,
  .legalops-page-hero-grid {
    gap: 6%;
  }

  .legalops-benefits-inner {
    grid-template-columns: 1fr;
    gap: 54px;
  }
}

@media (width <= 960px) {
  .legalops-feature {
    padding: 82px 22px;
  }

  .legalops-feature-inner,
  .legalops-page-hero-grid,
  .legalops-audience,
  .legalops-human-band,
  .legalops-faq {
    grid-template-columns: 1fr;
  }

  .legalops-feature-inner,
  .legalops-page-hero-grid {
    gap: 56px;
  }

  .legalops-page-hero {
    padding: 44px 22px 72px;
  }

  .legalops-page-hero-grid {
    padding-top: 58px;
  }

  .legalops-page-hero h1 {
    font-size: clamp(3.6rem, 13vw, 5.2rem);
  }

  .legalops-definition-grid,
  .legalops-process-grid {
    grid-template-columns: 1fr;
  }

  .legalops-definition-grid article,
  .legalops-process-grid article {
    min-height: 260px;
  }

  .legalops-benefits-section {
    padding: 86px 22px;
  }

  .legalops-audience,
  .legalops-human-band,
  .legalops-faq {
    gap: 48px;
  }

  .legalops-human-band {
    padding: 76px 22px;
  }

  .legalops-faq-heading {
    position: static;
  }
}

@media (width <= 560px) {
  .legalops-feature h2,
  .legalops-difference h2,
  .legalops-process h2,
  .legalops-benefits-section h2,
  .legalops-audience h2,
  .legalops-human-band h2,
  .legalops-faq h2 {
    font-size: 2.35rem;
  }

  .legalops-feature-actions,
  .legalops-page-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .legalops-feature-actions .button,
  .legalops-page-actions .button {
    width: 100%;
    text-align: center;
  }

  .legalops-visual-placeholder {
    min-height: 360px;
    padding: 28px 24px;
  }

  .legalops-visual-placeholder > strong {
    font-size: 1.65rem;
  }

  .legalops-benefit-grid {
    grid-template-columns: 1fr;
  }

  .legalops-benefit-grid article {
    min-height: 220px;
  }

  .legalops-faq-list summary {
    grid-template-columns: 28px 1fr 20px;
    gap: 13px;
  }

  .legalops-faq-list details > div {
    padding: 0 20px 24px 41px;
  }

  .page-legalops-cta {
    padding: 28px 24px;
  }
}
