.legal-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem) 0 3.5rem;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 48, 35, .94), rgba(73, 46, 23, .9)),
    url("../img/hero-raiz-tambor.svg") center/cover no-repeat;
}

.legal-hero::after {
  position: absolute;
  right: -7rem;
  bottom: -10rem;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  content: "";
}

.legal-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.legal-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 1rem;
  color: #f4d088;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  line-height: 1.02;
}

.legal-lead {
  max-width: 760px;
  margin: 1.1rem 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.75;
}

.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1.2rem;
  padding: .55rem .75rem;
  color: #fff7df;
  font-size: .84rem;
  font-weight: 800;
  border: 1px solid rgba(244, 208, 136, .34);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.legal-hero-panel {
  display: grid;
  gap: .5rem;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
}

.legal-hero-panel i {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #51320f;
  font-size: 1.45rem;
  border-radius: 8px;
  background: #f4d088;
}

.legal-hero-panel strong {
  color: #fff;
  font-size: 1.1rem;
}

.legal-hero-panel span {
  color: rgba(255, 255, 255, .78);
  line-height: 1.55;
}

.legal-section {
  padding: clamp(2rem, 5vw, 4rem) 0;
  background: #f6f4ef;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.legal-summary {
  position: sticky;
  top: 1rem;
  display: grid;
  gap: .35rem;
  padding: 1rem;
  border: 1px solid #e4ddd0;
  border-radius: 8px;
  background: #fff;
}

.legal-summary span {
  margin-bottom: .35rem;
  color: #8b6712;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-summary a {
  padding: .55rem .65rem;
  color: #43524a;
  font-size: .9rem;
  font-weight: 750;
  text-decoration: none;
  border-radius: 7px;
}

.legal-summary a:hover,
.legal-summary a:focus-visible {
  color: #173b2f;
  background: #f5ecd7;
}

.legal-article {
  padding: clamp(1.25rem, 4vw, 3rem);
  border: 1px solid #e4ddd0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(33, 47, 39, .08);
}

.legal-article h2 {
  margin: 2.1rem 0 .75rem;
  color: #173b2f;
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  line-height: 1.18;
}

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

.legal-article h3 {
  margin: 1.45rem 0 .55rem;
  color: #4c3317;
  font-size: 1.12rem;
}

.legal-article p,
.legal-article li {
  color: #405047;
  font-size: 1rem;
  line-height: 1.82;
}

.legal-article p {
  margin: 0 0 1rem;
}

.legal-article ul {
  display: grid;
  gap: .55rem;
  margin: .85rem 0 1.4rem;
  padding: 0;
  list-style: none;
}

.legal-article li {
  position: relative;
  padding-left: 1.45rem;
}

.legal-article li::before {
  position: absolute;
  top: .72rem;
  left: .1rem;
  width: .48rem;
  height: .48rem;
  border-radius: 50%;
  background: #c89b3c;
  content: "";
}

.legal-contact-strip {
  padding: 1.3rem 0;
  color: #fff;
  background: #173b2f;
}

.legal-contact-strip .container {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.legal-contact-strip span,
.legal-contact-strip strong {
  display: block;
}

.legal-contact-strip span {
  color: #f4d088;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-contact-strip strong {
  margin-top: .15rem;
  font-size: 1.05rem;
  font-weight: 800;
}

@media (max-width: 991.98px) {
  .legal-hero-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-summary {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .legal-hero {
    padding-top: 2.4rem;
  }

  .legal-contact-strip .container {
    align-items: stretch;
    flex-direction: column;
  }

  .legal-contact-strip .btn {
    width: 100%;
  }
}
