@font-face {
  font-family: "roboto-regular";
  src: url("../fonts/Roboto-Medium.ttf");
}

@font-face {
  font-family: "roboto-bold";
  src: url("../fonts/Roboto-Bold.ttf");
}

@font-face {
  font-family: "poppins-bold";
  src: url("../fonts/Poppins-Bold.otf");
}

@font-face {
  font-family: "icomoon";
  src: url("../fonts/icomoon.eot?j8k1wy");
  src: url("../fonts/icomoon.eot?j8k1wy#iefix") format("embedded-opentype"),
    url("../fonts/icomoon.ttf?j8k1wy") format("truetype"),
    url("../fonts/icomoon.woff?j8k1wy") format("woff"),
    url("../fonts/icomoon.svg?j8k1wy#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}

footer img {
  height: 50px;
}

footer .rp {
  margin-left: 10px;
}

.interna .share {
  padding: 5px 0rem;
}

.interna .compartir {
  margin-left: initial;
}

.issuuembed {
  margin-top: 4rem;
  width: 100%;
  height: 780px;
}

.logoAbogados {
  flex-shrink: 1;
  text-align: center;
  background-color: #fff;
  padding: 10px;
  width: fit-content;
}

.logoAbogados img {
  width: 260px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background-color: #fff;
  color: #000;
  transform: scale(1.08);
}

.social-icon.fa-facebook-f:hover {
  background: #1877f2;
}

.social-icon.fa-x-twitter:hover {
  background: #000000;
}

.social-icon.fa-linkedin-in:hover {
  background: #0077b5;
}

.hi-icon {
  display: inline-block;
  font-size: 0px;
  cursor: pointer;
  margin: 0px 0px 0px 10px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  text-align: center;
  position: relative;
  z-index: 1;
  color: #fff;
}

#flipbook {
  margin-top: 51px;
  padding: 0.75rem;
}

.hi-icon:after {
  pointer-events: none;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  content: "";
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

.hi-icon:before {
  font-family: "icomoon";
  speak: none;
  font-size: 13px;
  line-height: 25px;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  display: block;
  -webkit-font-smoothing: antialiased;
}

.hi-icon-facebook:before {
  content: "\ea90";
}

.hi-icon-x:before {
  content: "\ea96";
}

.hi-icon-linkedin:before {
  content: "\ea96";
}

.hi-icon-book:before {
  content: "\e900";
}

/* Effect 1 */
.hi-icon-effect-1 .hi-icon {
  background: rgba(255, 255, 255, 0.1);
  -webkit-transition: background 0.2s, color 0.2s;
  -moz-transition: background 0.2s, color 0.2s;
  transition: background 0.2s, color 0.2s;
}

.hi-icon-effect-1 .hi-icon:after {
  top: -7px;
  left: -7px;
  padding: 7px;
  box-shadow: 0 0 0 4px #fff;
  -webkit-transition: -webkit-transform 0.2s, opacity 0.2s;
  -webkit-transform: scale(0.8);
  -moz-transition: -moz-transform 0.2s, opacity 0.2s;
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  transition: transform 0.2s, opacity 0.2s;
  transform: scale(0.8);
  opacity: 0;
}

/* Effect 1a */
.hi-icon-effect-1a .hi-icon:hover {
  background: rgba(255, 255, 255, 1);
  color: #41ab6b;
}

.hi-icon-effect-1a .hi-icon:hover:after {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}

/* Effect 2 */
.hi-icon-effect-2 .hi-icon {
  color: #fff;
  box-shadow: 0 0 0 1px #fff;
  -webkit-transition: color 0.3s;
  -moz-transition: color 0.3s;
  transition: color 0.3s;
}

.hi-icon-effect-2 .hi-icon:after {
  top: -2px;
  left: -2px;
  padding: 2px;
  z-index: -1;
  background: rgba(255, 255, 255, 0.15);
  -webkit-transition: -webkit-transform 0.2s, opacity 0.2s;
  -moz-transition: -moz-transform 0.2s, opacity 0.2s;
  transition: transform 0.2s, opacity 0.2s;
}

/* Effect 2a */
.hi-icon-effect-2a .hi-icon:hover {
  color: #fff;
}

.hi-icon-effect-2a .hi-icon:hover:after {
  -webkit-transform: scale(0.65);
  -moz-transform: scale(0.65);
  -ms-transform: scale(0.65);
  transform: scale(0.65);
}

.botones {
  display: flex;
  gap: 20px;
  margin-top: 1rem;
  font-weight: bold;
}

.apertura {
  position: relative;
  background-image: url("../img/bg.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Capa oscura o con color encima del fondo */
.apertura::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  /* negro con 40% de opacidad */
  z-index: 1;
}

/* Todo el contenido dentro debe quedar por encima */
.apertura>* {
  position: relative;
  z-index: 2;
}

.share {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 1rem 0;
}

.share span {
  color: #fff;
  font-family: "roboto-regular";
  font-size: 13px;
  letter-spacing: 1px;
  margin-right: 10px;
  margin-left: initial;
}

.share .compartir {
  margin-left: initial;
}

.share h1 {
  font-size: 14px;
  color: #fff;
  margin: 0;
  font-family: "roboto-bold";
  letter-spacing: 1px;
}

.compartir {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hi-icon-effect-2.hi-icon-effect-2a {
  float: right;
  height: 26px;
}

.grid-container {
  max-width: 1160px;
}

.grid-container.header {
  display: flex;
  flex-flow: row wrap;
  gap: 24px;
  width: 100%;
}

.header {
  text-align: center;
  max-width: 700px;
}

.portadas {
  align-items: center;
  gap: 0px;
  align-items: stretch;
}

.titulo {
  color: #fff;
  flex: 1;
  background: #000000;
  padding-left: 40px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 100%);
  gap: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

h1 {
  font-size: 46px;
  font-family: "roboto-regular";
  letter-spacing: 1px;
}

h1 strong {
  font-family: "roboto-bold";
}

.text1 {
  font-weight: 500;
  font-size: 30px;
  line-height: 34px;
  margin-top: -30px;
}

.text2 {
  font-size: 18px;
  line-height: 22px;
  font-style: italic;
  font-weight: 600;
}

.text3 {
  font-size: 15px;
  line-height: 20px;
}

.logos a {
  display: contents;
  cursor: pointer;
}

a.btFlip {
  background-color: #f2a512;
  color: #fff;
  border-radius: 5px;
  padding: 22px 23px 14px;
  display: inline-block;
  line-height: 100%;
  transition: background-color 0.3s ease;
}

a.btFlip:hover {
  background-color: #557286;
  transition: background-color 0.3s ease;
}

div.summary {
  margin-top: 4rem;
  font-family: "roboto-regular";
  letter-spacing: 1px;
  font-size: 17px;
}

.btFlip div {
  font-family: "icomoon";
  margin-right: 10px;
  font-size: 28px;
  float: left;
  margin-bottom: 8px;
  margin-top: -4px;
}

h2 {
  font-family: "poppins-bold";
  font-size: 28px;
  text-align: center;
  margin-top: 1.5em;
}

footer {
  font-family: "roboto-regular";
  font-size: 14px;
  background-color: #074d7c;
  padding: 1.5rem 0rem;
  color: #fff;
}

.copyright {
  text-align: center;
  line-height: 1.3;
  font-size: 12px;
  margin-top: 8px;
}

.ardilalule {
  margin-top: 20px;
  text-align: right;
}

.ardilalule a {
  color: #fff;
  text-decoration: underline;
}

.share h1 {
  font-size: 16px;
  color: #fff;
  margin: 0px;


}

footer img {
  max-width: 270px;
}

.logos {
  padding-bottom: 100px;
  margin-top: 3rem;
}

.logos .cell.child {
  border-right-style: none;
}

.logos .cell.child.down {
  border-bottom-style: none;
}

.logos .cell.down {
  border-bottom-style: none;
}

.logos .cell {
  background-color: #ffffff;
  border-color: #e5e5e5;
  border-width: 1px;
  border-style: solid;
  margin: 0 auto;
  border-top-style: none;
  border-left-style: none;
  height: 116px;
  line-height: 100%;
  display: flex;
  cursor: pointer;
}

.logos .cell {
  display: flex;
  justify-content: center;
  align-items: center;
}

.firma {
  width: 200px;
  /* ancho uniforme */
  height: 100px;
  /* alto uniforme */
  background-repeat: no-repeat;
  background-position: center;
  /* centrado */
  background-size: contain;
  /* se adapta al recuadro sin deformarse */
  margin: auto;
  cursor: pointer;
  filter: grayscale(0);
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Solo defines las imágenes */
.firma.uno {
  background-image: url(../img/logos/1.png);
}

.firma.dos {
  background-image: url(../img/logos/2.png);
}

.firma.tres {
  background-image: url(../img/logos/3.png);
}

.firma.cuatro {
  background-image: url(../img/logos/4.png);
}

.firma.cinco {
  background-image: url(../img/logos/5.png);
}

.firma.uno:hover,
.firma.dos:hover,
.firma.tres:hover,
.firma.cuatro:hover,
.firma.cinco:hover {

  filter: grayscale(1);
  opacity: 0.5;
}



@media screen and (min-width: 40em) and (max-width: 63.9375em) {
  h1 {
    font-size: 23px;

  }

  .text1 {
    font-size: 22px;
    line-height: 26px;
  }

  .text2 {
    font-size: 16px;
    line-height: 22px;
  }

  .btn {
    margin: 20px 0;
  }

  .issuuembed {
    margin-top: 4rem;
    width: 100%;
    height: 510px;
  }

  .grid-container {
    padding: 0;
  }
}

@media (min-width: 320px) and (max-width: 376px) {
  .tittleFirmas {
    margin-top: 18rem;
  }
}

@media (min-width: 375px) and (max-width: 424px) {
  .tittleFirmas {
    margin-top: 22rem;
  }
}

@media (min-width: 425px) and (max-width: 480px) {
  .tittleFirmas {
    margin-top: 23rem;
  }
}

@media screen and (min-width: 40em) {
  .share {
    /* Usamos flex-end para asegurar que el bloque completo se pegue a la derecha */
    justify-content: flex-end;
  }
  
  /* Alternativamente (si justify-content: flex-end no es suficiente debido a Foundation): */
  .share .compartir {
    margin-left: auto;
  }
  .share span {
    margin-left: auto;
  }
}

@media screen and (max-width: 39.9375em) {
  .compartir {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-left: initial !important;
  }

  .portadas {
    flex-direction: column;
    text-align: center;
  }

  .share {
    padding: 1rem 0rem 1rem;
    justify-content: center;
  }

  .share span {
    margin-left: initial !important;
    margin-right: initial !important;
  }

  img#portada {
    margin-left: 26px;
    width: 100%;
    z-index: 10;
    position: relative;
    margin: auto;

  }

  .iframe {
    margin-top: 4rem;
    width: 100%;
    height: 360px !important;
  }

  .interna h2 {
    font-family: "poppins-bold";
    font-size: 30px;
    text-align: center;
    margin-top: 0rem;
  }

  h1 {
    font-size: 32px;
    text-shadow: none;
    margin-top: 1rem;
    line-height: 1;
    margin-bottom: 1.25rem;
  }

  .text1 {
    font-size: 16px;
  }

  .titulo {
    z-index: 0;
    padding-bottom: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 100% 100%);
  }

  .grid-container.header {
    text-align: center;
    padding-left: 0px;
    display: block;
    padding-right: 0px;
    padding: 0;
  }


  .grid-container.header .text1 {
    text-align: left;

  }

  h2 {
    font-size: 22px;
    margin-top: 0rem;
  }

  div.summary {
    margin-top: 2rem;
  }

  .cell {
    height: auto;
    min-height: inherit;
  }

  .logos {
    margin-top: 2rem;
    padding-bottom: 50px;
  }

  .logos .cell.child {
    border-right-style: solid;
  }

  footer {
    text-align: center;
    padding: 1.5rem 0rem 2rem;
  }

  .ardilalule {
    text-align: center;
  }

  footer img {
    margin: 1rem 0rem 2.5rem;
  }

  .logos .cell.down {
    border-bottom-style: solid;
  }

  #flipbook {
    margin-top: 5px;
  }

  .interna .apertura {
    height: auto;
  }

  .apertura {
    background-position: left;
    background-size: cover;
    height: auto;

  }

  .logoAbogados {
    width: 148px;
    float: left;
    text-align: left;
    margin: auto;

  }

  .logoAbogados img {
    margin-left: 0px;
  }

  .hi-icon-effect-2.hi-icon-effect-2a {
    float: initial;
    margin-top: 5px;
  }

  .tittleFirmas {
    margin-top: 2rem;
  }

  .share h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 20px;
    margin-top: 16px;

  }
}