:root {
  --legal-navy: #242f3a;
  --legal-navy-deep: #17222d;
  --legal-gold: #d5b666;
  --legal-paper: #f5f2eb;
  --legal-ink: #26313b;
  --legal-muted: #6f777e;
}

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

.legal-home,
.penal-page {
  color: var(--legal-ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.75;
}

.legal-home h1,
.legal-home h2,
.legal-home h3,
.penal-page h1,
.penal-page h2,
.penal-page h3 {
  line-height: 1.16;
}

.site-nav .site-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav .site-navigation .site-menu {
  margin-left: auto;
}

.site-nav .site-navigation .site-menu > li > a {
  padding-left: 11px;
  padding-right: 11px;
}

.site-nav button.burger {
  padding: 0;
  border: 0;
  background: transparent;
}

.strategy-hero {
  min-height: 780px;
  padding: 190px 0 120px;
  display: flex;
  align-items: center;
  background-image: url('../images/hero_1.jpg');
  background-position: center;
}

.strategy-hero.area-art-hero {
  background-image: url('../images/02.jpg');
}

.strategy-hero.area-transito-hero {
  background-image: url('../images/06.jpg');
}

.strategy-hero.studio-hero {
  background-image: url('../images/hero_2.jpg');
}

.strategy-hero.contact-hero {
  min-height: 620px;
  background-image: url('../images/hero_3.jpg');
}

.strategy-hero.overlay:before {
  background: linear-gradient(90deg, rgba(23, 34, 45, .98) 0%, rgba(23, 34, 45, .88) 50%, rgba(23, 34, 45, .43) 100%);
}

.strategy-hero .hero-copy {
  max-width: 820px;
}

.strategy-hero .heading {
  max-width: 780px;
  margin: 18px 0 28px;
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -.045em;
}

.strategy-hero .hero-lead {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, .82);
  font-size: 1.1rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-legal-primary,
.btn-legal-secondary {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid var(--legal-gold);
  font-weight: 700;
  letter-spacing: .02em;
}

.btn-legal-primary {
  background: var(--legal-gold);
  color: var(--legal-navy-deep);
}

.btn-legal-primary:hover {
  background: #e2c873;
  border-color: #e2c873;
  color: var(--legal-navy-deep);
}

.btn-legal-secondary {
  color: #fff;
  background: transparent;
}

.btn-legal-secondary:hover {
  color: var(--legal-navy-deep);
  background: var(--legal-gold);
}

.brand-signature {
  max-width: 680px;
  margin-top: 55px;
  padding-top: 22px;
  border-top: 1px solid rgba(213, 182, 102, .45);
  color: var(--legal-gold);
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
}

.legal-section {
  padding: 110px 0;
}

.legal-section.paper {
  background: var(--legal-paper);
}

.section-label {
  display: inline-block;
  margin-bottom: 16px;
  color: #9a7b2d;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.display-title {
  margin: 0 0 28px;
  color: var(--legal-navy);
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: -.035em;
}

.section-lead {
  color: #45515b;
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  line-height: 1.65;
}

.narrow-copy {
  max-width: 880px;
}

.pillar-grid,
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 52px;
}

.pillar-card,
.practice-card {
  min-height: 100%;
  padding: 38px 34px;
  border: 1px solid #ded9ce;
  background: #fff;
}

.pillar-card .card-number,
.practice-card .card-number,
.work-step .card-number {
  display: block;
  margin-bottom: 22px;
  color: #9a7b2d;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.pillar-card h3,
.practice-card h3,
.work-step h3 {
  margin-bottom: 18px;
  color: var(--legal-navy);
  font-size: 1.55rem;
  font-weight: 400;
}

.practice-card.featured {
  border-color: var(--legal-navy);
  background: var(--legal-navy);
  color: rgba(255, 255, 255, .75);
}

.practice-card.featured h3 {
  color: #fff;
}

.card-link {
  display: inline-block;
  margin-top: 12px;
  color: #876b24;
  font-weight: 700;
}

.practice-card.featured .card-link {
  color: var(--legal-gold);
}

.studio-grid,
.work-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}

.contact-grid.contact-grid-form {
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: start;
}

.studio-photo {
  position: relative;
}

.studio-photo:after {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 60%;
  height: 60%;
  border-right: 3px solid var(--legal-gold);
  border-bottom: 3px solid var(--legal-gold);
  content: "";
  pointer-events: none;
}

.studio-photo img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
}

.quote-band,
.contact-band {
  background: var(--legal-navy-deep);
  color: #fff;
}

.quote-band {
  padding: 100px 0;
  text-align: center;
}

.institutional-quote {
  max-width: 980px;
  margin: 0 auto 20px;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4.1vw, 3.8rem);
  font-weight: 400;
  line-height: 1.3;
}

.quote-attribution {
  color: var(--legal-gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.contact-band {
  padding: 100px 0;
}

.contact-band.thank-you {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.contact-band .display-title,
.contact-band .section-lead {
  color: #fff;
}

.contact-options {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.contact-options > a:not(.btn-legal-primary) {
  color: #fff;
  border-bottom: 1px solid rgba(213, 182, 102, .55);
}

.landing-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 34px;
  border: 1px solid rgba(213, 182, 102, .46);
  background: rgba(255, 255, 255, .045);
}

.landing-form .form-field {
  display: grid;
  gap: 7px;
}

.landing-form .form-field.full,
.landing-form .form-submit {
  grid-column: 1 / -1;
}

.landing-form label {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.landing-form input,
.landing-form select,
.landing-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 0;
  background: #fff;
  color: var(--legal-navy-deep);
  font: inherit;
}

.landing-form textarea {
  min-height: 128px;
  resize: vertical;
}

.landing-form input:focus,
.landing-form select:focus,
.landing-form textarea:focus {
  border-color: var(--legal-gold);
  outline: 3px solid rgba(213, 182, 102, .22);
}

.landing-form .form-submit {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.landing-form button {
  cursor: pointer;
}

.landing-form .privacy-note {
  margin: 0;
  color: rgba(255, 255, 255, .62);
  font-size: .78rem;
}

.direct-contact {
  display: grid;
  gap: 13px;
  margin-top: 30px;
  justify-items: start;
}

.direct-contact a {
  color: #fff;
  border-bottom: 1px solid rgba(213, 182, 102, .55);
}

.area-contact {
  padding: 95px 0;
  background: var(--legal-navy-deep);
  color: #fff;
}

.area-contact .display-title,
.area-contact .section-lead {
  color: #fff;
}

.area-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.team-intro {
  max-width: 820px;
  margin-bottom: 46px;
}

.team-roster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #d8d2c5;
  border-left: 1px solid #d8d2c5;
}

.team-member {
  min-height: 170px;
  padding: 30px;
  border-right: 1px solid #d8d2c5;
  border-bottom: 1px solid #d8d2c5;
}

.team-member .team-index {
  display: block;
  margin-bottom: 28px;
  color: #9a7b2d;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.team-member h3 {
  margin: 0 0 8px;
  color: var(--legal-navy);
  font-size: 1.45rem;
  font-weight: 400;
}

.team-member p {
  margin: 0;
  color: var(--legal-muted);
  font-size: .85rem;
}

.team-member.placeholder {
  background: var(--legal-paper);
}

.work-grid {
  align-items: start;
}

.work-steps {
  border-top: 1px solid #d8d2c5;
}

.work-step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding: 27px 0;
  border-bottom: 1px solid #d8d2c5;
}

.work-step .card-number {
  margin: 5px 0 0;
}

.work-step h3 {
  margin-bottom: 10px;
}

.work-step p {
  margin-bottom: 0;
}

.faq-list {
  max-width: 900px;
  margin-top: 42px;
  border-top: 1px solid #d8d2c5;
}

.faq-list details {
  border-bottom: 1px solid #d8d2c5;
}

.faq-list summary {
  position: relative;
  padding: 24px 52px 24px 0;
  color: var(--legal-navy);
  cursor: pointer;
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  list-style: none;
}

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

.faq-list summary:after {
  position: absolute;
  top: 25px;
  right: 4px;
  color: #9a7b2d;
  content: "+";
  font-family: "Raleway", sans-serif;
}

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

.faq-list details p {
  max-width: 760px;
  padding: 0 45px 24px 0;
}

.footer .footer-signature {
  color: #5c646b;
  font-family: "Playfair Display", serif;
  line-height: 1.65;
}

.whatsapp-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 2000;
  width: 60px;
  height: 60px;
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 14px;
  background: #fff;
  color: var(--legal-navy);
}

.skip-link:focus {
  top: 16px;
}

@media (max-width: 991.98px) {
  .site-nav .site-navigation {
    display: block;
  }

  .strategy-hero {
    min-height: 720px;
    padding: 165px 0 95px;
  }

  .strategy-hero .heading {
    font-size: clamp(2.8rem, 11vw, 4.4rem);
  }

  .legal-section,
  .quote-band,
  .contact-band {
    padding: 78px 0;
  }

  .pillar-grid,
  .practice-grid {
    grid-template-columns: 1fr;
  }

  .studio-grid,
  .work-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

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

@media (max-width: 575.98px) {
  .strategy-hero {
    min-height: 690px;
    padding: 145px 0 75px;
  }

  .strategy-hero .heading {
    letter-spacing: -.03em;
  }

  .hero-actions {
    display: grid;
  }

  .landing-form {
    grid-template-columns: 1fr;
    padding: 26px 22px;
  }

  .landing-form .form-field.full,
  .landing-form .form-submit {
    grid-column: auto;
  }

  .team-roster {
    grid-template-columns: 1fr;
  }

  .brand-signature {
    margin-top: 38px;
  }

  .legal-section,
  .quote-band,
  .contact-band {
    padding: 65px 0;
  }

  .pillar-card,
  .practice-card {
    padding: 30px 25px;
  }

  .institutional-quote {
    font-size: 2rem;
  }

  .work-step {
    grid-template-columns: 42px 1fr;
  }
}
