* {
  margin: 0;
  padding: 0%;
  box-sizing: border-box;
  color: #03223e;
}
html {
  scroll-behavior: smooth;
}

.inter-Regular {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}
.inter-Bold {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: bold;
}

.inter-Light {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: light;
}

section {
  scroll-margin-top: 80px;
}

.Navegacion {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  margin-top: 2em;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.Logo {
  margin: 0;
  padding: 5%;
}

.Logo img {
  display: block;
  min-width: 300px;
  padding: 5%;
}

.Menu {
  position: relative;
}

.Menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 3em;
  height: 2.5em;
  padding: 6px;
  border: none;
  background: none;
  cursor: pointer;
  margin-right: 3em;
}

.Menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
}

.Menu-lateral {
  position: fixed;
  top: 0;
  right: 0;

  width: 280px;
  height: 280;

  display: flex;
  flex-direction: column;
  gap: 1em;

  padding: 5em 2em 2em;

  background-color: #03223e;
  mix-blend-mode: hard-light;

  border-style: solid;
  border-width: 2px;
  border-color: #ceac7e;
  border-radius: 0px 0 0px 30px;

  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.Menu-lateral.abierto {
  transform: translateX(0);
}

.Menu-lateral a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1em;
}

hr {
  border: none;
  border-top: 1px solid #ffffff;
  width: 100%;
  margin-block: 1em;
}

.portada {
  position: relative;
}

#bannerPortada {
  height: 100vh;
  display: flex;
  background-image: url(/imgs/banner-fcm-abogados-03.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  justify-content: center;
  color: #ffffff;
}

#bannerPortada h1 {
  font-size: 3em;
  color: #ffffff;
}

#bannerPortada p {
  color: #ffffff;
}

#btnConsulta {
  background-color: #ceac7e;
  color: #ffffff;
  font-weight: 600;
  padding-inline: 1em;
  padding-block: 0.75em;
  margin-block: 1em;
  border-style: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.33);
}

#btnConsulta:hover {
  background-color: #9d7c4e;
}
.textoBanner {
  display: flex;
  height: 100%;
  margin-inline: 5em;
  width: 50%;
  text-align: center;
  color: #ffffff;
  align-items: center;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
}

.textoBanner > * {
  opacity: 0;
  animation: aparecer 0.8s ease forwards;
}

.textoBanner .Logo {
  animation-delay: 0.2s;
}

.textoBanner h1 {
  animation-delay: 0.4s;
}

.textoBanner hr {
  animation: expandirLinea 0.8s ease forwards;
  animation-delay: 0.6s;
}

.textoBanner p {
  animation-delay: 0.8s;
}

.textoBanner button {
  animation-delay: 1s;
}


@keyframes aparecer {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes expandirLinea {
  from {
    opacity: 0;
    transform: scaleX(0);
  }

  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .textoBanner > *,
  .textoBanner .Logo {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.fondoNosotros {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#cardCrema {
  width: 100%;
}

#cardAzul {
  background-image: url(/imgs/columnaFiltroAzul.jpg);
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  justify-content: center;
}

.contenidoNosotros {
  background-color: #eae5df;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 13em;
  padding-inline: 20%;
  padding-bottom: 10%;
}

#logoContenidoNosotros {
  width: 300px;
  height: auto;
}
#textoNosotros {
  min-width: 33%;
}

.nosotrosMobile {
  display: none;
}

#tituloServicio {
  display: flex;
  flex-direction: column;
  margin-inline: 33%;
  align-items: center;
}
#tituloServicio h2 {
  font-weight: 900;
}
.sectionServicios {
  background-color: #eae5df;
}
.sectionServicios hr {
  border: none;
  border-top: 2px solid #ceac7e;
  width: 100%;
  margin-block: 1em;
}

.idServicios {
  display: flex;
  flex-direction: row;
  gap: 1%;
  margin-inline: 15%;
}

.cardServicio {
  padding: 2%;
  background-color: #ffffff;
  border-style: solid;
  border-radius: 16px;
  border-color: #ceac7e;
  max-width: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.cardServicio p {
  font-size: 0.8em;
}

.cardServicio img {
  padding: 5%;
  max-width: 125px;
  height: auto;
}

#tituloServicio {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.cardServicio {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

/* Estado visible */

.sectionServicios.visible #tituloServicio,
.sectionServicios.visible .cardServicio {
  opacity: 1;
  transform: translateY(0);
}

/* Entrada escalonada de las tarjetas */

.sectionServicios.visible .cardServicio:nth-child(1) {
  transition-delay: 0.2s;
}

.sectionServicios.visible .cardServicio:nth-child(2) {
  transition-delay: 0.4s;
}

.sectionServicios.visible .cardServicio:nth-child(3) {
  transition-delay: 0.6s;
}

.sectionServicios.visible .cardServicio:nth-child(4) {
  transition-delay: 0.8s;
}


#idSeguinosInsta {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding-top: 10%;
  padding-bottom: 5%;
}

.titulosContacto {
  margin: 0;
  margin-inline: 0;
  width: 100%;
  font-size: 1.5em;
  align-items: flex-start;
}

.Sucursal {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 1em;
}
.listadoSucursales {
  display: flex;
  flex-direction: column;
  gap: 2%;
}
.listadoSucursales li {
  list-style: none;
}

.listadoSucursales hr {
  border-top: 1px solid #03223e;
}

.Sucursal strong {
  font-weight: 900;
}
.contenidoContacto {
  display: flex;
  flex-direction: row;
  background-color: #eae5df;
  justify-content: center;
  gap: 5%;
  align-items: flex-start;
  padding-bottom: 10%;
}

.lineaTelefono {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 1%;
}

.whatsappIcon {
  width: 30px;
  height: auto;
}

.lineaLugar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 1%;
}

.lugarIcon {
  width: 30px;
  height: auto;
}

.formContacto {
  display: flex;
  flex-direction: column;
  row-gap: 1%;
}
.formContactoInput {
  display: flex;
  flex-direction: column;
  margin-block: 3%;
}

.formContacto input {
  font-size: 0.95em;
  padding-block: 3%;
  padding-inline: 1%;
  border-style: solid;
  border-color: #ceac7e;
  border-radius: 8px;
}
.formContacto textarea {
  padding-inline: 1%;
  padding-block: 2%;
  border-style: solid;
  border-radius: 4px;
  border-color: #ceac7e;
  border-radius: 8px;
}

.btnContacto {
  width: 100%;
  background-color: #ceac7e;
  border-style: none;
  border-radius: 8px;
  padding-block: 2%;
  font-size: 1em;
  font-weight: 700;
  cursor: pointer;
  color: white;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.33);
}

.btnContacto:hover {
  background-color: #9d7c4e;
}

.footer {
  background-color: #03223e;
  color: white;
  display: flex;
  align-items: center;
  flex-direction: column;
  min-height: 400px;
  padding-block: 5% 5%;
  border-style: solid;
  border-color: #ceac7e;
  border-width: 5px 0px 0px 0px;
  justify-content: space-between;
}

#logoFooter {
  width: 150px;
  height: auto;
}

.bajadaFooter {
  color: #ceac7e;
  font-weight: 300;
  font-size: 1em;
}

@media (prefers-reduced-motion: no-preference) {
  .Portada {
    view-timeline-name: --homeScroll;
  }
  .logoPrincipal {
    position: sticky;
    top: 40%;
    animation: fadeOut linear;
    animation-timeline: --homeScroll;
    animation-range: exit 0% exit 100%;
    animation-fill-mode: both;
  }

  .infoSection {
    animation: fadeIn ease-in;
    animation-timeline: view();
    animation-range-start: cover;
    animation-range-end: 400px;
    animation-fill-mode: both;
  }

  .cardServicio {
    animation: fadeInCards ease-in;
    animation-timeline: view();
    animation-range-start: cover;
    animation-range-end: 200px;
    animation-fill-mode: both;
  }
}

@media (max-width: 900px) {
  .nosotros {
    display: none;
  }

  .contenidoNosotros {
    display: flex;
    position: relative;
    flex-direction: column;
    gap: 2em;
    margin-inline: 0;
    align-items: center;
    padding: 0;
  }

  .nosotrosMobile {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #eae5df;
    padding-bottom: 15%;
  }

  #cardAzul {
    border-style: solid;
    border-color: #ceac7e;
    border-width: 0 0 4px 0;
    padding-block: 10%;
  }

  .fondoNosotrosMobile {
    width: 100%;
    padding-block: 7%;
  }
  #textoNosotros {
    margin-inline: 5%;
  }

  .idServicios {
    flex-direction: column;
    align-items: center;
    margin-inline: 5%;
  }
  .cardServicio {
    max-width: 90%;
    flex-direction: row;
    margin-block: 1%;
  }

  #idSeguinosInsta {
    flex-direction: column;
  }

  .contacto {
    display: flex;
    flex-direction: column;
  }

  .fondoContactoMobile {
    display: none;
  }
  .contenidoContacto {
    padding-block: 9%;
    flex-direction: column;
    padding-inline: 5%;
    align-items: center;
    gap: 1em;
  }

  #formContacto {
    width: 100%;
  }
}
