@font-face {
  font-family: Cottorway;
  src: url("../fonts/CottorwayPro-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: CottorwayPro-Regular;
  src: url("../fonts/CottorwayPro-Regular.otf") format("opentype");
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: CottorwayPro-Light;
  src: url("../fonts/CottorwayPro-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Cottorway;
  src: url("../fonts/CottorwayPro-SemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Nord;
  src: url("../fonts/NORD-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
:root {
  --azul: #1f3047;
  --azul2: #26394f;
  --gris: #dfe6e8;
  --gris2: #b9c5cc;
  --texto: #233247;
  --linea: #80909b;
  --blanco: #fff;
  --negro: #000;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #ffffff;
  color: var(--texto);
  font-family: Cottorway, Montserrat, Arial, sans-serif;
  font-weight: 300;
}
.wrapper {
  width: min(1110px, 88vw);
  margin: auto;
}
.narrow {
  width: min(860px, 82vw);
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
.site-header {
  min-height: 700px;
  height: 100vh;
  max-height: 860px;
  position: relative;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.45), rgba(7, 22, 38, 0.2)),
    url("../img/hero-bg.jpg") center/cover no-repeat;
  overflow: hidden;
}
.nav {
  height: 118px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 38px;
  position: relative;
  z-index: 4;
}
.brand img {
  width: 210px;
}
.nav-links {
  display: flex;
  gap: 64px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
}
.nav-links a {
  opacity: 0.95;
}
.nav-links a:hover {
  opacity: 0.65;
}
.menu-toggle {
  display: none;
}
.hero-card {
  position: absolute;
  left: 0;
  top: 210px;
  width: 700px;
  background: rgba(224, 232, 234, 0.96);
  padding: 58px 76px 60px 150px;
  z-index: 2;
}
.hero-card h1 {
  margin: 0 0 28px;
  text-transform: uppercase;
  font-family: CottorwayPro-Light;
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: 0.045em;
  font-weight: 300;
  color: #2e3b4d;
}
.firma-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #516070;
}
.firma-line span {
  display: block;
  width: 210px;
  height: 1px;
  background: #5e6a73;
}
.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  color: #fff;
  font-size: 34px;
  font-weight: 300;
  z-index: 2;
}
.section {
  position: relative;
}
.about {
  background: var(--gris);
  padding: 86px 0 0;
  min-height: 790px;
  overflow: hidden;
}
.side-badge {
  position: absolute;
  left: 88px;
  top: 0;
  width: 225px;
  background: var(--azul);
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.09em;
  font-size: 15px;
  line-height: 1.55;
  text-align: center;
  padding: 78px 28px 72px;
  z-index: 3;
}
.about-intro {
  text-align: center;
  padding-bottom: 105px;
}
.about-intro h2,
.team h2,
.areas h2,
.contact-content h2 {
  text-transform: uppercase;
  font-family: CottorwayPro-Regular;
  font-size: 34px;
  margin: 0 0 34px;
}
.about-intro p {
  max-width: 515px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.5;
}
.about-intro p:after {
  content: "";
  display: block;
  width: 195px;
  height: 1px;
  background: #8e9aa2;
  margin: 26px auto 0;
}
.about-visual {
  position: relative;
  min-height: 455px;
  padding: 45px 0 108px;
  background: linear-gradient(
    90deg,
    var(--gris) 0%,
    var(--gris) 31%,
    #fff 31.1%,
    #fff 100%
  );
}
.black-block {
  position: absolute;
  right: 0;
  top: 0;
  width: 70%;
  height: 455px;
  background: #ffffff;
}
.text-card {
  position: relative;
  z-index: 2;
  margin-left: 16%;
  margin-top: 0;
  width: 390px;
  min-height: 245px;
  background: var(--gris2);
  color: #fff;
  text-align: right;
  padding: 86px 95px 80px 42px;
  font-size: 16px;
  line-height: 1.5;
}
.office-img {
  position: absolute;
  z-index: 2;
  left: 48%;
  top: 94px;
  width: 450px;
  height: 230px;
  object-fit: cover;
}
.blue-divider {
  height: 330px;
  background: url("../img/textura-azul-horizontal.jpg") center/cover no-repeat;
}
.team {
  background: var(--gris);
  padding: 96px 0 110px;
  text-align: center;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 52px;
  text-align: left;
  margin-top: 75px;
}
.member-card {
  border: 1.5px solid var(--azul);
  padding: 34px 26px 30px;
  min-height: 255px;
}
.member-card h3 {
  font-family: Montserrat, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 0.06em;
  margin: 0 0 5px;
  font-weight: 800;
}
.member-card a {
  font-size: 15px;
  color: #506072;
}
a[href^="mailto:"] {
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
a[href^="mailto:"]:hover,
a[href^="mailto:"]:focus-visible {
  text-decoration: underline;
}
.member-card a:after {
  content: "";
  display: block;
  height: 1px;
  background: #758592;
  margin: 28px 0 26px;
}
.member-card--featured {
  grid-column: 1 / -1;
}
.member-card p {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}
.member-card p + p {
  margin-top: 16px;
}
.areas {
  background: #ffffff;
  color: var(--azul2);
  text-align: center;
  padding: 88px 0 125px;
}
.areas p {
  color: #27384d;
  max-width: 620px;
  margin: 0 auto 78px;
  font-size: 16px;
  line-height: 1.5;
}
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.practice-grid article {
  min-height: 180px;
  padding: 0 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid #26374d;
}
.practice-grid article:last-child {
  border-right: 0;
}
.practice-grid img {
  height: 55px;
  margin: 0 auto 18px;
  opacity: 0.8;
}
.practice-grid h3 {
  font-size: 19px;
  line-height: 1.2;
  margin: 0 0 25px;
  flex: 1;
  color: #26384e;
}
.practice-grid a,
.area-toggle {
  font-size: 14px;
  text-decoration: underline;
}
.area-toggle {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
}
.area-toggle span {
  display: inline-block;
  transition: transform 0.3s ease;
}
.area-toggle[aria-expanded="true"] span {
  transform: rotate(90deg);
}
.area-detail {
  text-align: left;
  padding-top: 70px;
  scroll-margin-top: 20px;
  animation: area-in 0.6s ease both;
}
.area-detail__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid var(--azul);
  padding-top: 16px;
  margin-bottom: 50px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7394b3;
}
.area-close,
.area-detail__nav button {
  background: none;
  border: 0;
  padding: 8px 0;
  font: inherit;
  color: var(--azul);
  cursor: pointer;
}
.area-close span {
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.3s ease;
}
.area-close:hover span {
  transform: rotate(90deg);
}
.area-detail__nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 70px;
  padding-top: 20px;
  border-top: 1px solid #a9b1b8;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
}
.area-detail__nav button span {
  font-size: 16px;
}
.area-detail__nav button:first-child {
  justify-self: start;
}
.area-detail__nav button:last-child {
  justify-self: end;
}
.area-detail__nav button[data-area="close"] {
  color: #7394b3;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
}
.area-detail__nav button:hover,
.area-close:hover {
  color: #7394b3;
}
.area-close:focus-visible,
.area-detail__nav button:focus-visible,
.area-toggle:focus-visible {
  outline: 2px solid #7394b3;
  outline-offset: 4px;
}
.practice-grid article {
  transition: opacity 0.3s ease;
}
.practice-grid.has-active article:not(.is-active) {
  opacity: 0.45;
}
.practice-grid article.is-active h3 {
  color: #7394b3;
}
@keyframes area-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.area-detail__top {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  align-items: start;
}
.area-detail__media {
  position: relative;
  padding-bottom: 86px;
}
.area-detail__media img {
  position: relative;
  z-index: 1;
  width: 263px;
  height: 385px;
  object-fit: cover;
}
.area-detail__block {
  position: absolute;
  left: 48px;
  bottom: 0;
  width: 314px;
  height: 225px;
  background: #7394b3;
}
.area-detail__intro {
  padding-top: 130px;
}
.area-detail__intro h3 {
  font-family: Cottorway, Montserrat, Arial, sans-serif;
  font-weight: 400;
  font-size: 32px;
  color: var(--azul2);
  margin: 0 0 22px -135px;
  padding: 0 0 18px 145px;
  border-bottom: 1px solid #a9b1b8;
  max-width: 645px;
}
.areas .area-detail__intro p {
  font-family: Nord, Montserrat, Arial, sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: #7394b3;
  max-width: 540px;
  margin: 0;
}
.area-detail__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 70px;
}
.area-detail__cols > div {
  padding: 0 38px;
  border-left: 1px solid #a9b1b8;
}
.area-detail__cols > div:first-child {
  padding-left: 38px;
  border-left: 0;
}
.area-detail__cols h4 {
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  color: #7394b3;
  margin: 0 0 22px;
}
.area-detail__cols ul {
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  color: #111;
  margin: 0;
  padding-left: 26px;
}
.area-detail__cols li + li {
  margin-top: 6px;
}
.area-admin__frame {
  position: relative;
  padding: 41px 0 34px 159px;
}
.area-admin__strip {
  position: absolute;
  left: 0;
  top: 0;
  width: 101px;
  height: 100%;
  object-fit: cover;
}
.area-admin__head {
  position: relative;
  display: flex;
  align-items: flex-end;
  margin-left: -90px;
}
.area-admin__photo {
  position: relative;
  z-index: 1;
  flex: 0 0 307px;
  width: 307px;
  height: 314px;
  object-fit: cover;
}
.area-admin__head h3 {
  font-family: Cottorway, Montserrat, Arial, sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.35;
  color: var(--azul2);
  margin: 0 0 18px;
  padding: 0 0 14px 71px;
  width: 440px;
  border-bottom: 1px solid #a9b1b8;
}
.areas .area-admin__intro {
  font-family: Nord, Montserrat, Arial, sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: #7394b3;
  max-width: 840px;
  margin: 42px 0 0;
}
.area-admin__body {
  max-width: 640px;
  margin: 40px 0 0 173px;
}
.areas .area-admin__body p {
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  color: #111;
  margin: 0;
}
.areas .area-admin__body p + p {
  margin-top: 16px;
}
.area-admin__body h4 {
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  color: #7394b3;
  margin: 0 0 14px;
}
.area-admin__body ul + h4 {
  margin-top: 30px;
}
.area-admin__body ul {
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  color: #111;
  margin: 0;
  padding-left: 26px;
}
.area-admin__body li + li {
  margin-top: 6px;
}
.area-comp .wrapper {
  padding: 0 42px;
}
.area-comp__title {
  position: relative;
  display: inline-block;
  font-family: Cottorway, Montserrat, Arial, sans-serif;
  font-weight: 400;
  font-size: 32px;
  color: var(--azul2);
  margin: 0;
  padding-bottom: 14px;
}
.area-comp__title:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: -50vw;
  height: 1px;
  background: #a9b1b8;
}
.areas .area-comp__intro {
  font-family: Nord, Montserrat, Arial, sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: #7394b3;
  max-width: 600px;
  margin: 30px 0 0;
}
.area-comp__body {
  max-width: 540px;
  margin: 60px 0 0 192px;
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  color: #111;
}
.areas .area-comp__body p {
  font-size: 16px;
  line-height: 1.3;
  color: #111;
  margin: 0 0 18px;
}
.area-comp__body ul {
  margin: 0;
  padding-left: 14px;
}
.area-comp__banner {
  width: calc(100% + 84px);
  max-width: none;
  height: 177px;
  margin: 75px -42px 0;
  object-fit: cover;
}
.ribbon {
  position: absolute;
  left: 7%;
  right: 10%;
  bottom: -42px;
  height: 72px;
  z-index: 2;
}
.ribbon img {
  width: 96%;
  height: 100%;
  object-fit: cover;
}
.ribbon span {
  position: absolute;
  right: -35px;
  top: 28px;
  width: 300px;
  height: 76px;
  background: #d1d1d1;
  z-index: -1;
}
.contact-wrap {
  position: relative;
  background: linear-gradient(
    90deg,
    var(--gris) 0%,
    var(--gris) 42%,
    #fff 42%,
    #fff 100%
  );
  min-height: 760px;
  padding-top: 195px;
}
.contact-img {
  position: absolute;
  left: 0;
  top: 260px;
  width: 39%;
  height: 645px;
  object-fit: cover;
}
.contact-content {
  position: relative;
  z-index: 2;
  width: min(610px, 54vw);
  margin-left: 48%;
  padding-bottom: 120px;
}
.contact-content h2 {
  text-align: left;
  margin-left: 80px;
  margin-bottom: 42px;
}
.contact-card {
  background: var(--gris2);
  color: #fff;
  width: 480px;
  padding: 46px 52px;
  margin-bottom: 64px;
}
.contact-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact-row:last-child {
  margin-bottom: 0;
}
.contact-row span {
  font-size: 22px;
  line-height: 1;
}
.contact-row p,
.contact-info p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}
.contact-row strong {
  text-transform: uppercase;
  font-family: Montserrat, Arial, sans-serif;
  letter-spacing: 0.06em;
  font-size: 15px;
}
.no-icon {
  padding-left: 40px;
}
.contact-info {
  color: #33445b;
  padding-left: 80px;
}
.contact-info p {
  margin-bottom: 30px;
}
.contact-info span {
  display: inline-block;
  width: 34px;
  color: #2b3d54;
  font-size: 24px;
  vertical-align: top;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 900px) {
  .site-header {
    min-height: 650px;
  }
  .nav {
    height: auto;
    align-items: center;
    padding-top: 24px;
  }
  .brand img {
    width: 150px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 0;
  }
  .menu-toggle span {
    width: 28px;
    height: 2px;
    background: #fff;
  }
  .nav-links {
    position: fixed;
    inset: 0 0 auto auto;
    width: 78%;
    height: 100vh;
    background: rgba(31, 48, 71, 0.98);
    flex-direction: column;
    gap: 28px;
    padding: 110px 40px;
    transform: translateX(100%);
    transition: 0.35s;
    z-index: 5;
  }
  .nav-links.open {
    transform: none;
  }
  .hero-card {
    left: 0;
    top: 180px;
    width: 88%;
    padding: 42px 32px;
  }
  .hero-card h1 {
    font-size: 36px;
  }
  .firma-line span {
    width: 120px;
  }
  .side-badge {
    position: relative;
    left: auto;
    top: auto;
    margin: 0 auto 40px;
  }
  .about {
    padding-top: 48px;
  }
  .about-intro {
    padding-bottom: 55px;
  }
  .about-visual {
    background: linear-gradient(
      90deg,
      var(--gris) 0%,
      var(--gris) 36%,
      #fff 36.1%,
      #fff 100%
    );
    padding: 40px 0 70px;
  }
  .black-block {
    display: none;
  }
  .text-card {
    margin: 0 auto;
    width: min(86vw, 390px);
    padding: 58px 32px;
  }
  .office-img {
    position: relative;
    left: auto;
    top: auto;
    margin: 22px auto 0;
    width: min(86vw, 450px);
  }
  .blue-divider {
    height: 210px;
  }
  .team-grid,
  .practice-grid {
    grid-template-columns: 1fr;
  }
  .area-detail {
    padding-top: 60px;
  }
  .area-detail__top,
  .area-detail__cols {
    grid-template-columns: 1fr;
  }
  .area-detail__media {
    width: 314px;
    max-width: 100%;
    margin: 0 auto;
  }
  .area-detail__block {
    width: calc(100% - 48px);
  }
  .area-detail__intro {
    padding-top: 0;
  }
  .area-detail__intro h3 {
    margin-left: 0;
    padding-left: 0;
  }
  .area-detail__cols {
    margin-top: 40px;
    gap: 32px;
  }
  .area-admin__frame {
    padding: 0 0 0 36px;
  }
  .area-admin__strip {
    width: 16px;
  }
  .area-admin__head {
    display: block;
    margin-left: 0;
  }
  .area-admin__photo {
    width: 100%;
    max-width: 307px;
    height: auto;
    aspect-ratio: 307 / 314;
  }
  .area-admin__head h3 {
    width: auto;
    padding-left: 0;
    margin-top: 32px;
  }
  .area-admin__intro {
    margin-top: 24px;
  }
  .area-admin__body {
    margin: 28px 0 0;
  }
  .area-comp .wrapper {
    padding: 0;
  }
  .area-comp__body {
    margin: 32px 0 0;
  }
  .area-comp__banner {
    width: 100%;
    height: 120px;
    margin: 40px 0 0;
  }
  .area-detail__bar {
    margin-bottom: 32px;
  }
  .area-detail__nav {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 4px;
    margin-top: 48px;
  }
  .area-detail__nav button:last-child {
    justify-self: start;
  }
  .area-detail__nav button[data-area="close"] {
    order: 3;
  }
  .area-detail__cols > div,
  .area-detail__cols > div:first-child {
    padding: 0;
    border-left: 0;
  }
  .practice-grid article {
    border-right: 0;
    border-bottom: 1px solid #26374d;
    padding: 34px 20px;
  }
  .contact-wrap {
    background: var(--gris);
    padding-top: 80px;
  }
  .contact-img {
    position: relative;
    top: auto;
    width: 100%;
    height: 300px;
  }
  .contact-content {
    width: 88vw;
    margin: 50px auto 0;
  }
  .contact-content h2 {
    margin-left: 0;
    text-align: center;
  }
  .contact-card {
    width: 100%;
    padding: 36px 28px;
  }
  .contact-info {
    padding-left: 0;
  }
  .ribbon {
    left: 5%;
    right: 5%;
  }
  .nav-links li {
    font-size: 15px;
  }
}
