/* Lau-Tam Abogados | Nuestros valores
   Editorial, aligned selection; isolated to #our-values. */
#our-values.lt-values {
  --ltv-graphite: #292D33;
  --ltv-petrol: #06696B;
  --ltv-gold: #C2A475;
  width: 100%;
  margin: clamp(32px, 4vw, 56px) auto clamp(64px, 7.5vw, 112px);
  color: var(--ltv-graphite);
  font-family: 'Georama', Arial, sans-serif;
  scroll-margin-top: 110px;
}
#our-values *,
#our-values *::before,
#our-values *::after { box-sizing: border-box; }

/* Retains the exact small-label component used by Mission & Vision. */
#our-values .lt-values__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#our-values .lt-values__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(310px, .92fr);
  min-height: 550px;
  background: var(--ltv-graphite);
  overflow: hidden;
}
#our-values .lt-values__visual {
  position: relative;
  min-height: 550px;
  isolation: isolate;
  background: #10202B;
  overflow: hidden;
}
#our-values .lt-values__photography {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(5, 17, 30, .88) 0%, rgba(5, 17, 30, .68) 34%, rgba(5, 17, 30, .27) 75%, rgba(5, 17, 30, .16) 100%),
    url('../assets/values/our-values-desktop.jpg');
  background-position: center, 47% center;
  background-size: cover;
}

/* Six names form one editorial column, rather than floating map pins. */
#our-values .lt-values__navigation {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(420px, 64%);
  min-height: 550px;
  margin-left: clamp(32px, 4vw, 66px);
  padding: 35px 0;
}
#our-values .lt-values__choice {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 75px;
  margin: 0;
  padding: 16px 15px 16px 24px;
  /* The inactive names have no visible horizontal rules. */
  border: 0;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, .72);
  text-align: left;
  cursor: pointer;
  transition: color .24s ease, padding-left .24s ease, background-color .24s ease, border-color .24s ease;
  -webkit-tap-highlight-color: transparent;
}
/* Only the hovered, keyboard-focused or selected value gains editorial rules. */
#our-values .lt-values__choice.is-active,
#our-values .lt-values__choice:hover,
#our-values .lt-values__choice:focus-visible {
  border-top-color: rgba(255, 255, 255, .32);
  border-bottom-color: rgba(255, 255, 255, .32);
}
#our-values .lt-values__choice::before {
  position: absolute;
  content: '';
  left: 0;
  top: 17px;
  bottom: 17px;
  width: 2px;
  opacity: 0;
  background: var(--ltv-gold);
  transition: opacity .24s ease;
}
#our-values .lt-values__choice.is-active,
#our-values .lt-values__choice:hover,
#our-values .lt-values__choice:focus-visible {
  color: #FFF;
  background-color: rgba(255, 255, 255, .045);
}
#our-values .lt-values__choice.is-active { padding-left: 30px; }
#our-values .lt-values__choice.is-active::before { opacity: 1; }
#our-values .lt-values__choice:focus-visible {
  outline: 2px solid var(--ltv-gold);
  outline-offset: -2px;
}
#our-values .lt-values__choice-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(21px, 1.82vw, 26px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.3;
}

/* A single, stable description occupies the right panel. */
#our-values .lt-values__editorial {
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 62px clamp(30px, 3.2vw, 58px);
  background: var(--ltv-graphite);
  color: #FFF;
}
#our-values .lt-values__detail { width: 100%; }
#our-values .lt-values__detail-title {
  margin: 0;
  color: #FFF;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 3.1vw, 47px);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.13;
  overflow-wrap: anywhere;
}
#our-values .lt-values__gold-rule {
  width: 44px;
  height: 1px;
  margin: 29px 0 25px;
  background: var(--ltv-gold);
}
#our-values .lt-values__detail-text {
  margin: 0;
  color: #D5DADB;
  font-family: 'Georama', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
}
#our-values .lt-values__mobile { display: none; }

@media (max-width: 1150px) and (min-width: 961px) {
  #our-values .lt-values__stage { grid-template-columns: minmax(0, 1.26fr) minmax(285px, .94fr); }
  #our-values .lt-values__navigation { margin-left: 29px; width: min(380px, 75%); }
  #our-values .lt-values__choice { min-height: 73px; }
  #our-values .lt-values__editorial { padding: 45px 33px; }
}

@media (max-width: 960px) {
  #our-values.lt-values { margin: 28px auto 76px; scroll-margin-top: 85px; }
  #our-values .lt-values__stage { display: block; min-height: 0; }
  #our-values .lt-values__visual { min-height: 250px; height: 50vw; max-height: 390px; }
  #our-values .lt-values__photography {
    background-image:
      linear-gradient(180deg, rgba(5, 17, 30, .06), rgba(5, 17, 30, .20) 72%, rgba(5, 17, 30, .26)),
      url('../assets/values/our-values-mobile.jpg');
    background-position: center, center 38%;
  }
  #our-values .lt-values__navigation, #our-values .lt-values__editorial { display: none; }
  #our-values .lt-values__mobile { display: block; background: #FAFAF8; }
  #our-values .lt-values__mobile-item { border-bottom: 1px solid #DDE1DF; }
  #our-values .lt-values__mobile-item:first-child { border-top: 1px solid #DDE1DF; }
  #our-values .lt-values__mobile-item-heading { margin: 0; }
  #our-values .lt-values__mobile-trigger {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-height: 73px;
    padding: 22px 19px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ltv-graphite);
    text-align: left;
    cursor: pointer;
  }
  #our-values .lt-values__mobile-trigger:focus-visible { outline: 2px solid var(--ltv-petrol); outline-offset: -2px; }
  #our-values .lt-values__mobile-name {
    flex: 1;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    font-size: clamp(21px, 5.5vw, 25px);
    letter-spacing: -.025em;
    line-height: 1.28;
  }
  #our-values .lt-values__mobile-item.is-active .lt-values__mobile-name { color: var(--ltv-petrol); }
  #our-values .lt-values__mobile-plus { position: relative; display: block; width: 17px; height: 17px; flex: 0 0 17px; }
  #our-values .lt-values__mobile-plus::before,
  #our-values .lt-values__mobile-plus::after {
    position: absolute;
    top: 8px;
    left: 1px;
    display: block;
    width: 15px;
    height: 1px;
    content: '';
    background: #687477;
    transition: transform .2s ease;
  }
  #our-values .lt-values__mobile-plus::after { transform: rotate(90deg); }
  #our-values .lt-values__mobile-item.is-active .lt-values__mobile-plus::after { transform: rotate(0); }
  #our-values .lt-values__mobile-panel { padding: 0 36px 26px 19px; }
  #our-values .lt-values__mobile-copy { margin: 0; color: #4E5A5D; font-size: 14px; line-height: 1.9; }
}

@media (max-width: 560px) {
  #our-values .lt-values__visual { min-height: 245px; height: 64vw; max-height: 320px; }
  #our-values .lt-values__mobile-trigger { min-height: 68px; }
}

@media (prefers-reduced-motion: reduce) {
  #our-values .lt-values__choice,
  #our-values .lt-values__choice::before,
  #our-values .lt-values__mobile-plus::after { transition: none; }
}
